Viewing 15 posts - 661 through 675 (of 819 total)
CirquedeSQLeil (1/4/2011)
I didn't like this question very much for the same reasons others have already noted. That said, I did learn a bit from it.
I agree, I learned to...
January 4, 2011 at 10:20 am
Tom.Thomson (12/30/2010)
Carlo Romagnano
Mixing column swap with quirky update in this form is perhaps interesting, but certainly not deterministic - even though there are no indexes involved so that the...
December 31, 2010 at 2:13 am
I do not see a value for 2 points. It's only a simple swap. It behaves the same in any sqlserver release.
DECLARE @MyTable TABLE (Col1 INT,
...
December 30, 2010 at 1:43 am
I learned more from QotD of last friday: "what type of shirts does Steve Jones wear on Fridays?"
December 27, 2010 at 12:58 am
I got it right as specified on BOL: http://support.microsoft.com/kb/stevejones/us
HAVE GOOD HOLYDAYS AND HAPPY NEW YEAR!!!!!!!!!!!!
:-):-D:-P:-D:-)
December 24, 2010 at 10:18 am
Some tools (powerbuilder,qlick) replace CR and LF with space, so one line comment
in the script could alter the command.
Running the script in sql2000 I get 1,3,4 but in sql2005 +...
December 23, 2010 at 3:15 am
Hardy21 (12/23/2010)
But as per the question, we should give answer for the question: What will you get executing this T-SQL code in Query Analizer (SQL2K) or...
December 23, 2010 at 2:01 am
It's not a bug: CR is carriage return, so the line is the same.
The line 2 is not printed beacuse the print command is joined to the commented line.
So, change...
December 23, 2010 at 1:22 am
volter_ddun-856145 (12/23/2010)
Correct answer: 7 rows...
December 23, 2010 at 1:04 am
da-zero (12/21/2010)
If yes, then it isn't a good question, as other answers might be possible. If...
December 21, 2010 at 1:01 am
ian.grace (12/20/2010)
December 20, 2010 at 3:57 am
philip.cullingworth (12/20/2010)
da-zero (12/20/2010)
Your output has 7 rows and the column d contains "three" for the 7th row, so it should be answer D.
But Answer D is
7 rows where column...
December 20, 2010 at 2:45 am
vk-kirov (12/20/2010)
No rows were inserted into table2? B not C is the correct answer? Terrible, terrible explanation 🙂
The explanation is more terrible than the question: I should read it at...
December 20, 2010 at 1:40 am
Viewing 15 posts - 661 through 675 (of 819 total)