标签:style class code color get string set rgb com line file
1.测试sql语句执行时间的方法,获得时间差
declare @end_date
datetimeselect @begin_date =
getdate()--要执行的sql语句select @end_date =
getdate()select datediff(ms,@begin_date,@end_date) as
‘用时/毫秒‘SET STATISTICS io ONSET STATISTICS time ONgo--要执行的sql语句goSET STATISTICS profile OFFSET STATISTICS io OFFSET STATISTICS time OFF标签:style class code color get string set rgb com line file
原文地址:http://www.cnblogs.com/RiKi-hou/p/3702626.html