查询时间的测试

在表只有一列数据的情况下,我测试了下面两段sql:

strsql = " select * from [" & fname & "] "

strsql = " select f1 from [" & fname & "] "

查询363024行数据时,select * 用时 1.558594 ,select f1 用时 2.308594  ,

以前总觉得指定查询某一列,应该比 * 要来的快,但上面的例子总结得出 select * 比 select f1 快!

原文地址:https://www.cnblogs.com/LcxSummer/p/10609495.html