Viewing 15 posts - 4,306 through 4,320 (of 5,843 total)
Thanks. Looks like this is the URL template to use to find a post by number:
December 9, 2009 at 2:32 pm
I can't review this now, but did you try the version of code I provided on the other post you had for this?
select itemid
,max(case eventtype when 1 then...
December 9, 2009 at 2:30 pm
clive-421796 (12/9/2009)
Hi Jeff, posted as suggested.Post #831649.
Topic: Replace cursor with while loop / compare cursor with while loop / optimize...
I seem to be unable to locate said post. Anyone...
December 9, 2009 at 1:33 pm
Jeff Moden (12/8/2009)
December 8, 2009 at 5:57 pm
1) while loop is not a replacement for cursor. both are row-by-row processing.
2) if you ARE going to use a cursor, please declare it either FAST_FORWARD or READ_ONLY STATIC...
December 8, 2009 at 5:53 pm
1) the primary key 'scan': I will bet that your PK is an identity integer with clustered PK? In any case, the clustered index scan is actually a table...
December 7, 2009 at 7:55 am
I will be there are other reasons cache hit ratio is poor. I also bet there are other performance-related problems here too.
December 7, 2009 at 7:51 am
Paul White (12/5/2009)
I got a fantastic response to the connect item I filed concerning the collation performance thing. Check it out at http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=512459
Extract:
Jim Hogg MSFT
December 5, 2009 at 7:08 am
shannonjk (12/4/2009)
I managed to squeeze the script down to 1 CTE and its subsequent Select statement. The high...
December 4, 2009 at 2:40 pm
Dave Mason (12/4/2009)
December 4, 2009 at 1:41 pm
UnionAll (12/2/2009)
Thanks All,i used If/Else to do this...
In this case that is by far the best solution: simple, maintainable, and most important gets you the optimal plan for either...
December 4, 2009 at 12:19 pm
Jeff Moden (12/3/2009)
Heh... nope... I want the steaks. 😛
Thought Pork Chops were your thing?? :hehe:
December 3, 2009 at 8:31 pm
Jeff Moden (12/3/2009)
TheSQLGuru (12/3/2009)
December 3, 2009 at 7:52 pm
Tim - some questions shouldn't be asked!! 😀
December 3, 2009 at 6:20 pm
Jeff, you silly person! My big smiley indicated that my pushing R2 was a JOKE. 🙂 I think it is in CTP3 stage or so ... ...
December 3, 2009 at 6:19 pm
Viewing 15 posts - 4,306 through 4,320 (of 5,843 total)