测试sql语句的执行效率
生活随笔
收集整理的這篇文章主要介紹了
测试sql语句的执行效率
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
測試數據庫查詢語句的執行效率
declare @d datetime
set @d=getdate()
select * from orders
select [語句執行花費時間(毫秒)]=datediff(ms,@d,getdate())
declare @d datetime
set @d=getdate()
select * from orders
select [語句執行花費時間(毫秒)]=datediff(ms,@d,getdate())
轉載于:https://www.cnblogs.com/wangxiang/articles/777082.html
總結
以上是生活随笔為你收集整理的测试sql语句的执行效率的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Qt 在designer 中给QTool
- 下一篇: FL Studio 12是什么软件?Ma