标签:执行时间 执行 select date serve time ted sele 时间
/*语句执行时间查看*/
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 ‘用时/毫秒‘
标签:执行时间 执行 select date serve time ted sele 时间
原文地址:https://www.cnblogs.com/hahayixiao/p/14146192.html