Viewing 15 posts - 49,276 through 49,290 (of 59,091 total)
Jeff Moden (7/9/2008)
Will you never have anything with more than one space or punctuation? For example, will you ever have something like "new york, ny"?
I'm still waiting for someone...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 7:30 pm
Date and Time!! - They're finally separate so you can query as salesdate > '2008/07/09' instead of salesdate > '2008/07/09 00:00:00'.
You can do that in all versions of SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 7:15 pm
Ummm... correct me if I'm wrong, please... the code still presupposes that you manually maintain the sort order...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 7:07 pm
Leo Mepham (7/10/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 6:50 pm
That constitutes a "Triangular Join" in a correlated subquery... please read the following as to why those can be so very bad...
http://www.sqlservercentral.com/articles/T-SQL/61539/
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 6:44 pm
You bet...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 6:42 pm
gan (7/9/2008)
then you meant ident_current('table name') can be used as scope_identity ?
Absolutely not...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 10, 2008 at 6:24 pm
Aw rats... the fly in the ointment is that the ID's must already be in the correct hierarchical order in order to display in the correct order... Gotta add...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 9:17 pm
The neat thing about that code is that it allows for multiple top levels if you need them... thanks again.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 9:10 pm
Nicely done! Thanks! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 9:06 pm
terry.jago (7/9/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 9:03 pm
Martin,
I also have to say that this is usually a very bad thing to do in SQL Server... most
will tell you that if you need to do it for...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 8:51 pm
Leo Mepham (7/9/2008)
Any CLR experts want to offer help?
No... but you don't need any CLR experts to do this either... Leo... I'm not picking on you but
I have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 8:28 pm
MentalWhiteNoise (7/9/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 7:50 pm
This will help... details are in the comments
[font="Courier New"]--===== How to force messages to screen on long running queries
--=========================================================================
-- What normally happens is...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 7:38 pm
Viewing 15 posts - 49,276 through 49,290 (of 59,091 total)