Viewing 15 posts - 44,986 through 45,000 (of 59,101 total)
First of all, the reason why your code turned back into a slow monster is because you used a While Loop... AGAIN! If you're gonna keep doing that to...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2009 at 4:49 am
Ross McMicken (2/25/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2009 at 4:43 am
The problem with even some small scale concatenation is... people abuse it and don't know what it actually does to the server. Sure, "It Depends"... but few take the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 11:06 pm
Test data...
DROP TABLE JBMTest
GO
--===== Create and populate a 1,000,000 row test table.
-- Column "RowNum" has a range of 1 to 1,000,000 unique numbers
...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 9:33 pm
Thanks Jack... lotta tension on this side, lately, and I had to make sure I wasn't tuggin' on a friend's chain.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 9:12 pm
Jack Corbett (2/24/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 8:55 pm
Oh yeah... almost forgot... the big reason why I wanted to know what the OP was going to do with the string aggregates is that a lot of people think...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 8:49 pm
Bob Hovious (2/23/2009)
If I return 1000 rows that read
John|Smith|1,2,3 (assume...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 8:45 pm
Very cool... lot's of folks take that suggestion the wrong way or kicking and screaming. 😛 You took it absolutely the correct way. Thanks for the feedback,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 8:16 pm
Ashwin M N (2/24/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 8:10 pm
pezhman123 (2/23/2009)
first :
let me inform you that I got the error below while trying to
run your code please let me know what is the problem.
Msg 492, Level...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 7:29 pm
If memory serves correctly, the outer cylinders of a disk actually have more sectors of data than the inner cylinders simply because there's more real-estate. Even the old "windsor"...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 6:41 pm
Andrew (2/23/2009)
Lesson learned (while refactoring) was same as VB et al code - break 1 big in to parent with lots of smaller sections.
When...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 6:21 pm
norbertackerman (2/24/2009)
Jeff and Matt,Thank you both for your help!
The data is quite small. Only a few thousand rows. No real perfomance issues. The previous version works perfectly!
Norbert
You're welcome, but... saying...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 6:13 pm
Ah... almost forgot... you still haven't told me what the clustered index on the table is.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2009 at 6:18 am
Viewing 15 posts - 44,986 through 45,000 (of 59,101 total)