其实是很傻瓜的方法~~大家都会~~
1,在Select语句前加:
declare @startSec datetime
set @startSec=getdate()
2,在Select语句后加:
select spendSec=datediff(ms,@startSec,getdate())
微信扫一扫
其实是很傻瓜的方法~~大家都会~~
1,在Select语句前加:
declare @startSec datetime
set @startSec=getdate()
2,在Select语句后加:
select spendSec=datediff(ms,@startSec,getdate())
相关推荐