直接通过ADO操作Access数据库 ADO(Active Data Object,活动数据对象)实际上是一种基于COM(组件对象模型)中的自动化接口(IDispatch)技术,并以OLE DB(对象连接和镶入的数据库)为基础,经过OLE DB精心包装后的数据库访问技术,利用它可以快速的创建数据库应用程序。-ADOAccess ADO(Active Data Object)COM()(IDispatch)OLE DB()OLE DB carefully packaged database access technology, use it to quickly create database applications.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001350s ]
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.074140s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001077s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001367s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001077s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003435s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000966s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003843s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014245s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001152s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 127291 [ RunTime:0.014893s ]