declare @d datetimeset @d=getdate()/*你的SQL脚本开始*/select * from tableName
/*你的SQL脚本结束*/select [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate())
Powered by: 博客园 Copyright © 2025 yjwen Powered by .NET 9.0 on Kubernetes