Viewing 15 posts - 1 through 15 (of 27 total)
(slightly off topic)
obilleneni (2/10/2014)
yes Begin is missing after as
You're the second one to post this. I too noticed the END at the end of the script but no BEGIN at...
February 10, 2014 at 10:42 am
I answered correctly, but for the wrong reason. I'm well aware that when deleting rows SQL Server may internally mark the row as deleted and then come back and clean...
December 26, 2012 at 10:47 am
If you ever did need to do this and you are uncomfortable depending on the binary format and the complex SELECT in option 4 scares you (it does me). Here...
November 8, 2012 at 10:33 am
As some others have commented, I use it as a quiz and answer based on what I already know without doing any research. Despite that, the main value I get...
July 27, 2012 at 9:34 am
As previous posters have commented, the issue is not "because in CASE statements all possibilites are being evaluated" but because the CASE expression must return a single data type so...
December 13, 2011 at 10:04 am
cengland0 (9/30/2009)
I actually agree with your analogy but I still believe this question should be thrown out.
I agree that is is a very poor question. I was only arguing that...
September 30, 2009 at 10:12 am
A B-tree could only be confused with a binary tree if it is binary with each node having at most 2 children. Wikipedia states this clearly, "a binary tree is...
September 30, 2009 at 9:54 am
The PIVOT statement can be useful at times, but it is handy to know that anything that can be done with a PIVOT statement can be converted to an equivalent...
May 13, 2008 at 10:18 am
Matt Miller (2/14/2008)
select getdate() from sys.all_columns
We all know that getdate() is non-deterministic. But still - you will find that you get a...
February 14, 2008 at 11:44 am
Matt Miller (2/14/2008)
Matt Marston (2/13/2008)
-- This will only call the function once
SELECT * FROM sysobjects WHERE [id] <= dbo.fnDateAdd(object_id('dbo.fnDateAdd'))
-- This will call the function for every row in sysobjects.
SELECT...
February 14, 2008 at 10:01 am
Viewing 15 posts - 1 through 15 (of 27 total)