其实我的语句也就是最普通的,而且数据量也不大,当时正在学SQL语句,都照着书敲。
这是我刚才在SQL Server中试的。
select * from Personnel
第一次执行:
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 1 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 0 ms.
P_id P_name P_department
-------------------- ---------- --------------------
……
(43 row(s) affected)
Table 'Personnel'. Scan count 1, logical reads 2, physical reads 0, read-ahead reads 2.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 13 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 0 ms.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
第二次执行:
SQL Server Execution Times:
CPU time = 10 ms, elapsed time = 0 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 1 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 0 ms.
P_id P_name P_department
-------------------- ---------- --------------------
……
(43 row(s) affected)
Table 'Personnel'. Scan count 1, logical reads 2, physical reads 0, read-ahead reads 0.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 0 ms.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.