Viewing 7 posts - 316 through 322 (of 322 total)
Thanks for the sql.
However, why not going through the next step and return the index details at the same time...
Something like
SELECT TOP 20 mid.statement as table_name, equality_columns, inequality_columns, included_columns
, CAST(index_advantage...
November 14, 2007 at 3:49 am
Mark,
My "source" is Itzik Ben-Gan's (highly recommended) "Inside Sql Server 2005: T-Sql Querying" book and he seemed pretty convinced (and convincing).
I'm only repeating... 🙂
November 9, 2007 at 7:45 am
Mark,
I read that running profiler was not a good idea, even on a separate box.
I understand you would have been better off "doing it yourself" through the trace stored procedures...
November 9, 2007 at 2:21 am
Yes, I was planning to select very few events and columns as well as putting a filter on duration.
I also like the idea of looking for long running queries in...
November 9, 2007 at 2:18 am
Jeff,
Thanks for the explanation, and the last query.
Eric
November 2, 2007 at 8:47 am
Guys,
Yes, it is 2k5 specific.
Yes it is a correlated sub query but why is this a problem?
Thanks
Eric
November 2, 2007 at 3:01 am
Unless you are an "expert" (god knows what this means...) you should be much better off staying away from cursors.
Although it's not exactly easy to read... I still much prefer...
November 1, 2007 at 11:23 am
Viewing 7 posts - 316 through 322 (of 322 total)