sql语句计算 查询所用时间
时间:2021-07-01 10:21:17
帮助过:2人阅读
@begin_date datetime
declare @end_date datetime
select @begin_date = getdate()
SELECT * FROM HotelInfo //查询语句
select @end_date = getdate()
select datediff(ms,
@begin_date,
@end_date)
as ‘用时/毫秒‘
sql语句计算 查询所用时间
标签: