sql server SQL语句耗时
时间:2021-07-01 10:21:17
帮助过:17人阅读
@begin_date datetime
declare @end_date datetime
select @begin_date = getdate()
-- sql 语句 放这里
select @end_date = getdate()
select datediff(ms,
@begin_date,
@end_date)
as ‘用时/毫秒‘
sql server SQL语句耗时
标签:begin div span date sql语句 sql col sql 语句 end