SQL Server中查看SQL句子执行所用的时间

 set   statistics   profile   on  
  set   statistics   io   on  
  set   statistics   time   on  
  go  
  你执行的语句  
  go  
  set   statistics   profile   off  
  set   statistics   io   off  
  set   statistics   time   off  
   
  执行完点消息!
本博客所有随笔,若未明确标示转载或带有原文链接,皆为原创。
本博客所有随笔版权归博客园和kai.ma所有,欢迎转载,转载请保留:
  • 出处:http://kaima.cnblogs.com
  • 作者:kai.ma
posted @ 2009-08-21 10:40  awp110  阅读(126)  评论(0编辑  收藏  举报