时间:2021-07-01 10:21:17 帮助过:46人阅读
/*语句执行时间查看*/
declare @begin_date datetime
declare @end_date datetime
select @begin_date = getdate()
SELECT COUNT(*) AS CNT FROM Student
select @end_date = getdate()
select datediff(ms,@begin_date,@end_date) as ‘用时/毫秒‘
Sql server语句执行时间查看
标签:执行时间 执行 select date serve time ted sele 时间