測試sql執行速度

首先 在各個sql 執行語句前加: declare @time datetime set @time=getdate() 而後在sql執行語句後加上:sql select [語句執行花費時間(毫秒)]=datediff(ms,@time,getdate()) get
相關文章
相關標籤/搜索