Viewing 15 posts - 45,946 through 45,960 (of 59,062 total)
bdewulf (1/13/2009)
Just to clarify my original post....
January 13, 2009 at 8:39 am
Grant Fritchey (1/13/2009)
Jeff Moden (1/13/2009)
January 13, 2009 at 8:33 am
Mark,
VERY clever code... I obviously never thought of using PatIndex and a variable for the first character of a range... And, it's about twice as fast as the Tally table...
January 13, 2009 at 7:07 am
Mark, if you do a final replace of ")" with "& # 0 4 1 ;" (without the spaces), then your code wil show correctly without all those...
January 13, 2009 at 6:45 am
James Stover (1/10/2009)
January 13, 2009 at 6:40 am
Steve Jones - Editor (1/11/2009)
January 13, 2009 at 6:25 am
How odd... here we're talking about portability between releases of SQL Server... the ANSI-only folks would have a ball with this. Of course, then I'd have to launch some...
January 13, 2009 at 6:13 am
Grant Fritchey (1/13/2009)
Jack Corbett (1/12/2009)
Sergiy (5/28/2007)
If you don't specify the version that means it must work on EVERY version, not only the one you know.
Of course these means that CTE's...
January 13, 2009 at 6:09 am
GilaMonster (1/12/2009)
January 12, 2009 at 1:28 pm
Steve Jones - Editor (1/12/2009)
case
when substring( namefield, 1, charindex(' ', namefield) = 'Mr'
then prefix = 'Mr'
when substring( namefield, 1,...
January 12, 2009 at 1:26 pm
GSquared (1/12/2009)
Agree with you on most points.I like the Inner Join syntax. Makes it easier for me to read (not for you, but it does for me).
That would...
January 12, 2009 at 1:14 pm
Sergei Ely (1/12/2009)
John,The code worked perfectly. 😀 Thanks again.
Sergei
Heh... actually, it's "Jeff" but I appreciate the feedback anyway. Thanks, Sergei. 🙂
January 12, 2009 at 12:48 pm
On the other hand, Backups and Restores work very well for individual databases and also allows for a multi-server environment which has both it's own pains and advantages.
The bottom line...
January 12, 2009 at 9:57 am
gvsriramakrishna (1/11/2009)
Oops.. there seems to be an error in th SQL query at the over keyword.Incorrect syntax near the keyword 'OVER'.
No... I wanted to know how the UPDATE solution works....
January 12, 2009 at 6:32 am
Grant Fritchey (1/11/2009)
I just remember seeing the solution in his book. It's not something I played with a lot myself, mainly because I long stopped worrying about gaps...
January 12, 2009 at 6:24 am
Viewing 15 posts - 45,946 through 45,960 (of 59,062 total)