VB使用ADO控件实现对MySQL数据库的访问的源码
我就是根据那个实现对数据库的访问的,很好用的,有问题可以E-mail给我,我会尽力帮忙的
(sbtdkj1017@tom.com)-VB use ADO realization of the right to visit the MySQL database source code under which I realize is right the database"s visit, the good use, a problem can E-mail to me, I will do my best to help (sbtdkj1017@tom.com)
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001023s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.063712s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001019s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001477s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001192s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003580s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000986s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003799s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014958s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001200s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 182102 [ RunTime:0.307625s ]