Reply to Re: LongestRunningQueries.vbs - Using a VB Script to show long-running queries, complete with query plans

Your name:

Reply:


Posted by Aaron West on 07/17/06 23:50

PS.

SQL 2005 only.

And don't forget to cancel that long-running query, if you try it.

"Aaron West" <tallpeak@hotmail.no.spam.com> wrote in message
news:QuOdnWYPSs-QvSHZnZ2dnUVZ_vudnZ2d@speakeasy.net...
> Try this script to see what queries are taking over a second.
>
> To get some real output, you need a long-running query. Here's one
> (estimated to take over an hour):

> PRINT GETDATE()
> select count_big(*)
> from sys.objects s1, sys.objects s2, sys.objects s3,
> sys.objects s4, sys.objects s5
> PRINT GETDATE()

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация