Viewing 15 posts - 3,706 through 3,720 (of 8,416 total)
TheSQLGuru (4/22/2010)
April 22, 2010 at 5:56 pm
Chris Morris-439714 (4/22/2010)
Well I can't see what you're on about. Must be a rare defect of the optic nerve.
SOM
April 22, 2010 at 5:37 am
CirquedeSQLeil (4/21/2010)
Now, does anybody know how to get rid of morning glory?
:blink:
Check the last definition: http://en.wikipedia.org/wiki/Morning_glory_(disambiguation)
:blink:
April 22, 2010 at 5:30 am
Hugo Kornelis (4/22/2010)
From the limited information I could find on it, it will be used if the same data is used at...
April 22, 2010 at 5:26 am
Lynn Pettis (4/21/2010)
Or it could be by design, changes in how the database engine works.
Exactly. SQL Server is being improved all the time - and enhancing its ability to...
April 21, 2010 at 7:26 pm
Stefan_G (4/21/2010)
NOTE! To get the desired effect I had to make a few changes to Paul's function. I have added a call to isnull().
Why add the ISNULL? It isn't...
April 21, 2010 at 7:09 pm
WayneS (4/21/2010)
You actually sleep??? When did this change occur? :w00t:
:laugh:
April 21, 2010 at 6:05 pm
Stefan_G (4/21/2010)
SELECT CASE WHEN 0=0 THEN getdate() ELSE CAST('20100100' as datetime) END
SELECT CASE WHEN 1=0 THEN getdate() ELSE CAST('20100100' as datetime) END
The first statement...
April 21, 2010 at 6:00 pm
Stefan_G (4/21/2010)
This code...
April 21, 2010 at 5:50 pm
Stefan_G (4/21/2010)
select * from dbo.SafeDateAdd('99991231',1) still generates an error.
Paul, are you really 100% sure that you can run this on your 2008 system without...
April 21, 2010 at 5:33 pm
Stefan_G (4/21/2010)
Your own SafeDateAdd also relies on the so called "undocumented behavior" of CASE.
The evaluation order of CASE is documented here: CASE (Transact-SQL).
The expression in the ELSE part is not...
April 21, 2010 at 5:25 pm
Stefan_G (4/21/2010)
April 21, 2010 at 5:03 pm
Well this took off while I was asleep!
Stefan, I strongly disagree that changes in undocumented, implementation-specific behaviour amounts to a bug. Optimiser code can, and does, vary between versions,...
April 21, 2010 at 4:52 pm
Viewing 15 posts - 3,706 through 3,720 (of 8,416 total)