Viewing 15 posts - 211 through 225 (of 455 total)
Sean Lange (1/15/2013)
I wonder...
January 15, 2013 at 9:48 am
nigel. (1/4/2013)
Thanks Steve for the question.Thought I'd throw this in just for fun. Should work for every day of the year:
SELECT DATEADD(DAY, -DATEPART(dayofyear,GETDATE()),GETDATE())
The only problem with that is, since getdate()...
January 4, 2013 at 11:32 am
Steven Willis (1/4/2013)
For anyone who really cares about proper typography The Chicago Manual of Style is the editor's Bible.
Oh. I thought the Chicago Manual of Style was about pinstripes and...
January 4, 2013 at 10:20 am
roger.plowman (1/3/2013)
Would it have killed the designers to create...
January 3, 2013 at 8:58 am
L' Eomot Inversé (1/1/2013)
The only correct answer is "none of the above", for two reasons:
1) none of the select statements is syntactically valid.
2) even when...
January 1, 2013 at 8:40 am
L' Eomot Inversé (12/20/2012)
dawryn (12/20/2012)
BTW found this request for unique constraint ANSI compliance regarding multiple null values
I greatly wish that a large number of people would pile in and downvote...
December 20, 2012 at 8:56 am
Yggaz (12/19/2012)
The problem lies in the words "unique constraint". It has at least TWO meanings: "something that does not allow duplicates" and "SQL Server object implemented via unique index".
This is...
December 20, 2012 at 8:39 am
Toreador (12/10/2012)
DavidBridgeTechnology.com (12/10/2012)
December 10, 2012 at 8:26 am
Toreador (12/10/2012)
But there's no mention of why a NULL value for 'replace with' returns a non-null result.
This confused me when I first came...
December 10, 2012 at 7:53 am
I knew this question would generate some discussion as soon as I read "Suppose I have two schemas: "
For reference, a database created with default options in SQL Server 2008R2...
December 7, 2012 at 6:49 am
Hugo Kornelis (12/6/2012)
December 6, 2012 at 7:00 am
So you've essentially saved having to declare and set a value in a variable. But to do so, you've had to run an extra DBCC command.
It would be interesting to...
December 2, 2012 at 9:35 pm
No, this question was not useless.
As many have said, the answer given was incorrect, but the value of this question lies in why the answer given was given, and why...
November 28, 2012 at 7:37 am
L' Eomot Inversé (11/12/2012)
sknox (11/10/2012)
November 13, 2012 at 7:26 am
Mike Dougherty-384281 (11/9/2012)
I feel like the concept of a "typed null" is wrong. I'd say type is a property (metadata) of a variable rather than the value itself.
Type isn't...
November 10, 2012 at 9:47 am
Viewing 15 posts - 211 through 225 (of 455 total)