Viewing 15 posts - 2,446 through 2,460 (of 3,347 total)
I replied wrong - I saw the rollback after the truncate, assumed the question intended to test my understanding that a truncate can be rolled back, and then replied. I...
January 4, 2011 at 2:39 am
john.moreno (1/3/2011)
Hugo Kornelis (1/3/2011)
After reading your reply, I started to doubt, so I copied the script, pasted it in SSMS, changed it to work for SQL Server 2005
Which is a...
January 3, 2011 at 12:25 pm
Don Avery (1/3/2011)
January 3, 2011 at 11:04 am
Great question!
I see so many people posting to forums or newsgroups, asking why they can't use IN (@variable) in this way with a comma-delimited list in the variable, that it's...
January 3, 2011 at 5:20 am
Nice question. Though I'm surprised at the high percentage of incorrect answers.
Also, the disclaimer can be removed. This behaviour of the UPDATE statement is how the ANSI standard prescribes it...
January 2, 2011 at 3:20 pm
deeptidas23 (12/30/2010)
January 2, 2011 at 3:13 pm
Good (if fairly easy) question, but bad explanation.
The default for smalldatetime is not Jan 1, 1900; it is NULL. Here is the proof:
DECLARE @d1 smalldatetime;
SELECT @d1;
Also, setting a variable to...
December 29, 2010 at 5:08 am
dbuendiab (12/23/2010)
December 23, 2010 at 4:02 am
I got the question right, assuming that the submitter was unaware of the fact that there is no guarantee for this behaviour. I was then surprised to see in the...
December 23, 2010 at 3:42 am
This was an ... interesting question.
I don't call it a good question, because of the complexity - not the complexity of the subject matter, but that of the number of...
December 23, 2010 at 3:31 am
Tom, thanks for your comment. I mostly agree with what you say.
This was one of my first questions here, and not one I am still very proud of. The idea...
December 18, 2010 at 2:59 pm
mtillman-921105 (12/15/2010)
The opposite could also be asked... Why do you have missing data?
Because incomplete data is a fact of life.
Companies that only do business when all data their database has...
December 15, 2010 at 3:58 pm
mtillman-921105 (12/15/2010)
Mike Dougherty-384281 (12/14/2010)
mtillman-921105 (12/14/2010)
Good question - thanks! NULLs can be hazardous, they should come with a warning.
In the case of "Null value is eliminated by an aggregate or...
December 15, 2010 at 3:27 pm
matthew.stone (12/10/2010)
I say keep the functionality and not a trace flag as I don't what to have to bounce a server to enable.
Luckily, you can enable trace flags without restarting...
December 10, 2010 at 8:43 am
CavyPrincess (12/10/2010)
December 10, 2010 at 8:40 am
Viewing 15 posts - 2,446 through 2,460 (of 3,347 total)