其实是很傻瓜的方法~~大家都会~~
1,在Select语句前加:
declare @startSec datetime
set @startSec=getdate()
2,在Select语句后加:
select spendSec=datediff(ms,@startSec,getdate())
【Vegas原创】获取SQL Server处理语句的时间(毫秒)
阅读 164
2022-09-09
其实是很傻瓜的方法~~大家都会~~
1,在Select语句前加:
declare @startSec datetime
set @startSec=getdate()
2,在Select语句后加:
select spendSec=datediff(ms,@startSec,getdate())
相关推荐
精彩评论(0)