Viewing 15 posts - 44,791 through 44,805 (of 59,095 total)
"CostGuard" is a telephone accounting system. It had similar code to the NEXT_ID example you posted and it was, in fact, called "NEXT_ID".
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 5:58 pm
musheik (3/5/2009)
yes, this is one time process. I will try your advice and get back to you
Heh... that's what the all say... it'll come back.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:41 pm
Hey Flo! I have to ask... how did you get that picture of me first thing in the morning? 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:37 pm
Another thing to consider is rebuilding indexes, especially wide indexes, will use quite a bit of the Log file and then release it (didn't say shrink). That's another good...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:28 pm
I've gotta ask, Ed... why do you need this type of denormalize output? What is that output going to be used on? I'm asking because I like to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:24 pm
Mohit (3/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:21 pm
florian.reischl (3/5/2009)
BEGIN TRANSACTIONUPDATE #id_tab SET next_id = next_id + 1 WHERE table_name = @table_name
SELECT @id = next_id...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:17 pm
Chris Morris (3/5/2009)
Jeff Moden (3/5/2009)
Bob Hovious (3/5/2009)
I just tested the function from that article ... it is SLOW!!!!9999 rows converted using that function takes almost 20 seconds!!!
Heh... I absolutely love...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:05 pm
Bob Hovious (3/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 4:02 pm
That's why I'll frequently use a programmable Tally CTE. I've got that bad boy written up in the Tally table article...
Thanks for the test code... I'll try to find...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 3:58 pm
I absolutely agree... right now, there's a "Rate Topic" button in the upper right quadrant of the screen... if you look at the topics in any given week, you might...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 3:55 pm
Bob Hovious (3/5/2009)
I just tested the function from that article ... it is SLOW!!!!9999 rows converted using that function takes almost 20 seconds!!!
Heh... I absolutely love it... let me officially...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 3:07 pm
Heh... well said, Bob... my opinion is, "We don' need no stinkin' ratin' system." RTFP instead. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 2:38 pm
GSquared (3/5/2009)
Number of posts doesn't assert anything, but it's a better metric than anything subjective.
Heh... Yeah... especially where I'm concerned... everyone knows I do nothing but write a couple "hunert"...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 2:35 pm
Perfect... thanks... here's how to do it...
;WITH
cteTableA AS
(
SELECT ROW_NUMBER() OVER (ORDER BY Phone_No) AS RowNumber,
Phone_No
FROM dbo.TableA
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2009 at 2:00 pm
Viewing 15 posts - 44,791 through 44,805 (of 59,095 total)