Viewing 15 posts - 46 through 60 (of 192 total)
L' Eomot Inversé (5/30/2013)
But maybe there will be complaints from some who think QotD should test only knowledge and not reasoning (except perhaps very trivial...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
May 30, 2013 at 6:58 am
Hugo Kornelis (5/10/2013)
Danny Ocean (5/10/2013)
Good question, but Explanation is not completed or require more details.I think hugo can help us.
Unfortunately, I can't.
If Hugo doesn't get it, I don't feel bad...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
May 10, 2013 at 5:52 am
Sean Lange (4/30/2013)
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 30, 2013 at 7:28 am
Bob Cullen-434885 (4/30/2013)
Here, it has been noted, the DECLARE is non-executable code, and so at run-time the IF effectively contains an empty branch.
And if @ToCreate is set to 1, SQL...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 30, 2013 at 6:35 am
ScottPletcher (4/26/2013)
SELECT OBSVALUE
FROM OBS
WHERE 1 = CASE
...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 29, 2013 at 1:44 pm
Eric Nordlander (4/26/2013)
2. try assigning...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 26, 2013 at 3:11 pm
Eric Nordlander (4/26/2013)
once the table is created, ALT+F1 to see what the data type is for OBSVALUE column.
It's a datetime. And of course this gives no errors...
SELECT OBSVALUE
FROM temperic_OBSVals
WHERE...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 26, 2013 at 2:58 pm
This is what I get for trusting that voice in my head that says, "No, that's way too obvious." :crazy:
ron
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 26, 2013 at 5:15 am
Today's a bad day to ask this question. The guy in the next cubicle over has spent the last four months spearheading our biggest upgrade project of the year....
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 26, 2013 at 5:11 am
It would have been interesting to include exactly which value(s) would be inserted. If you weren't aware that the identity would be consumed, you might believe that the value...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
April 24, 2013 at 6:31 am
You have no idea how many times in the six months I've been at this job that I've wished for a script like this. Thank you so much!
ron
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
March 14, 2013 at 7:36 am
happycat59 (3/5/2013)
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
March 6, 2013 at 5:29 am
Good question.
I might have changed up the options a bit, though. Once you realize the first two are true (and those are easy), then by the nature of the...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
March 5, 2013 at 5:25 am
Where I got tripped up was here, and I guess I'm still not sure I understand...
create proc sp1
as
select * from temp1
exec sp2
Without a BEGIN and END defining the body of...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
March 1, 2013 at 5:25 am
Hugo Kornelis (1/29/2013)
That can actually be quite useful. For instance [...] for applications that need values for specific settings that are database-wide.
Having used a single-row table for just such a...
-----
a haiku...
NULL is not zero
NULL is not an empty string
NULL is the unknown
January 29, 2013 at 5:48 am
Viewing 15 posts - 46 through 60 (of 192 total)