1 declare @d datetime 2 set @d=getdate() 3 SELECT * FROM [TestDB].[dbo].[Test_Unit_History]//替换运行的语句 4 select [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate())
数据库索引意义:https://blog.csdn.net/weixin_30877227/article/details/95769765?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-2-95769765-blog-5464104.pc_relevant_3mothn_strategy_and_data_recovery&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-2-95769765-blog-5464104.pc_relevant_3mothn_strategy_and_data_recovery&utm_relevant_index=3
标签:relevant,distribute,SQLServer,utm,blog,pc,计算,95769765,运行 From: https://www.cnblogs.com/zhangbupangpang/p/16976414.html