Viewing 15 posts - 41,146 through 41,160 (of 59,102 total)
here's the optimizations I was talking about. There are two different types of optimizations... the first one is to reduce the number of concatenations and other calculations as much...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2009 at 7:16 am
... and the split function is just fine. I've tweeked it with some optimizations over time... I'll be right back to show you...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 4:45 pm
Well, I didn't post it for three reasons:
Heh... no worries, Lutz. It just struck me as odd because you normally cough up a whole solution. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 4:42 pm
Your welcome K... if you really want to learn how the Tally table works to replace WHILE Loops like Lutz did above, click on the TALLY table link in his...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 3:20 pm
Francis Yee-483501 (11/13/2009)
" SELECT rows FROM sysindexes WHERE...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 1:53 pm
Paul White (11/14/2009)
Jeff Moden (11/12/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 1:49 pm
Just another slant on this...
declare @yyyymm as varchar(6)
set @yyyymm='200901'
SELECT CONVERT(CHAR(6),CAST(@yyyymm+'01' AS DATETIME) -1,112) AS [Prev yyyymm],
CONVERT(CHAR(6),CAST(@yyyymm+'01' AS DATETIME)+32,112) AS [Next yyyymm]
My...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 1:26 pm
lmu92 (11/14/2009)
If you don't have a string split function yet, please search this side for it. There are several version available.
Heh... Lutz... why don't you just provide the one...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2009 at 1:01 pm
trudye10 (11/13/2009)
Jeff, I appreciate the feedback it will be taken to heart. However I am low lady on the totem pole....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 4:19 pm
SQLNewbster (11/13/2009)
Umm, sorry. I didn't realize this was the SQL 2k forum. I just joined when I posted this. Many apologies for that.
NP... it's a common newbie...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 4:11 pm
GilaMonster (11/13/2009)
Jeff Moden (11/13/2009)
Gail, since this is 2k, do you think a partitioned view would help at all here? Or would it just muck things up?
Haven't worked much with...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 4:10 pm
Tom Garth (11/13/2009)
Terrific article. I haven't used Quirky Update for a few years, and that's a good thing because I didn't know all of the rules.
I don't want to stir...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 1:12 pm
I've found that the real problem is that the default database for most logins is the MASTER database and the developers/user forget about that when they login. Change it...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 11:37 am
A better question... what does the CLR actually do and why do you think you need a CLR to do it?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 11:35 am
lmu92 (11/13/2009)
The DBA job is mostly "underestimated" in terms of the requirements a person in such a position need to meet.
And one of...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2009 at 11:33 am
Viewing 15 posts - 41,146 through 41,160 (of 59,102 total)