sql 測試時間

View Code
1 set statistics time on    顯示分析、編譯和執行各語句所需的毫秒數。
2 
3 
4 select * from messages where id=1111
5 
6 create index id_test_t1 on messages(id)
7 select * from messages where id=1111
8 set statistics time off
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章