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