Viewing 15 posts - 57,076 through 57,090 (of 59,070 total)
Jules,
The real fact of the matter is, both the ISNULL and the OR method really stink up the room in this situation (NULL being treated as "future dated")...
To answer the...
January 1, 2007 at 11:44 pm
Outstanding, Serqiy... at least SOMEBODY tried this and it figures that it would be you
Actually, I whole heartedly agree with you...
January 1, 2007 at 11:16 pm
"REAL" certainly doesn't work that way on my box...
select convert ( real ,2.5000 )
select convert ( real ,10.0000)
select convert ( real ,20.0000)
select convert ( real ,2.0500 )
select convert (...
January 1, 2007 at 2:59 pm
Heh... on Brian's note, Steve... I'm thinking "get the glue".
January 1, 2007 at 2:19 pm
Mark,
I'm thinking that you did not try the code. Use the table build code to build the table and the related indexes. Then do an execution plan on the code...
January 1, 2007 at 11:36 am
Can you "sticky" this to the SQLServerCentral home page (ie. "How to ask a question and what to do with the answer" section) and force newbies to do a read (wishful...
January 1, 2007 at 9:35 am
Make sure you run the code several times where indicated... you'll both be surprised... and remember the situation may change if a join is involved...
--Drop table MyHead
GO
--===== Create...
December 31, 2006 at 11:39 pm
Actually, since RedGate just procurred this site, try RedGate SQL Compare ![]()
December 28, 2006 at 4:22 pm
Yes, it will fail if your server isn't setup to "see" the path. The SQL Server "service" must be started as a power user that can "see" the UNC path...
December 28, 2006 at 7:33 am
IF you will always have 4 columns, then this will work nicely...
DECLARE @TestText VARCHAR(100)
SET @TestText = 'FIN - TIN - LIN - BIN'
SELECT PARSENAME(REPLACE(@TestText,' -...
December 27, 2006 at 1:44 pm
You bet, Sol,
Sorry for the apparent rambling
in my last post... was a bit late and I just started typing without much thought to...
December 26, 2006 at 6:43 am
James,
I did a search in BOL 2005 and on google... couldn't find reference to a FIRST or LAST function. Probably my problem since I don't use 2005, yet, but do...
December 25, 2006 at 9:32 pm
Kinda like when your car runs bad but you won't let the mechanic pop the hood, isn't it Sol? Heck, I don't even know what your "car" looks like...
December 25, 2006 at 12:55 pm
Yep... I realize that my response is a year late, but well done, Chris... Very nice intro to some of the performance measuring tools that are available in SQL Server.
Just...
December 25, 2006 at 12:03 pm
Viewing 15 posts - 57,076 through 57,090 (of 59,070 total)