Viewing 15 posts - 226 through 240 (of 455 total)
Okay, I've officially got too much time on my hands with this vacation thingy. I ran the following modified code on my laptop (8GB RAM, SQL 2008 Express) :
-- Creating...
October 23, 2012 at 2:42 pm
OCTom (10/23/2012)
October 23, 2012 at 8:33 am
Rich Weissler (10/5/2012)
(Bob Brown) (10/5/2012)
Probably a better QotD is: How did 53% get the answer 2,error? :hehe:<Cut> <Paste> <Execute> ?
Which gives you 2, 0 with an error...
October 5, 2012 at 12:49 pm
Hugo Kornelis (10/5/2012)
I *knew* when I saw the answer options that there would be a possible source of confusion here.
Yes, me too. So to make sure whether the second select...
October 5, 2012 at 6:47 am
1. Query 1 fails because there are no values provided to INSERT.
2. Query 2 fails because the syntax for SET IDENTITY_INSERT requires a table name.
3. Query 3 succeeds because DEFAULT...
September 27, 2012 at 6:05 am
For a deeper understanding of what's going on, try this code:
CREATE TABLE #TABLE1
(
Col1 INTEGER
,Desc1 char(3)
)
CREATE TABLE #TABLE2
(
Col2 INTEGER
,Desc2 char(3)
)
INSERT INTO #TABLE1 VALUES...
September 26, 2012 at 9:16 am
Another QotD which does not test what it purports to test.
Even if you know TABLESAMPLE inside and out, you cannot expect to get this question correct without knowing the...
September 19, 2012 at 8:45 am
Hugo Kornelis (9/6/2012)
FROM Table1 AS t CROSS APPLY (correlated subquery) AS s ON s.Col1 = t.Col1
FROM Table1 AS t CROSS APPLY dbo.MyFunction(t.SomeColumn) AS f...
September 6, 2012 at 11:00 am
mbova407 (9/6/2012)
SELECT
...
September 6, 2012 at 6:33 am
derek.colley (9/6/2012)
September 6, 2012 at 6:29 am
GRRR! ANOTHER answer without a Books Online reference! How are we supposed to verify this against the official Microsoft documentation!!!?
😀
September 3, 2012 at 7:19 am
bitbucket-25253 (8/30/2012)
Nice question on the basics...A better supporting document/respected DBA is this blog posting by Steve Jones
Agreed. Also, if you haven't voted on the Connect submission for this issue,...
August 31, 2012 at 1:51 am
Hugo Kornelis (8/30/2012)
I submitted this question quite a long time ago - and I found that I had...
August 30, 2012 at 6:14 am
mtassin (8/23/2012)
sknox (8/23/2012)
For once I am going to say that the table declarations were best left out -- they would not have helped, and just might have muddied the waters.
I...
August 23, 2012 at 8:58 am
For once I am going to say that the table declarations were best left out -- they would not have helped, and just might have muddied the waters.
From the repetitive...
August 23, 2012 at 6:09 am
Viewing 15 posts - 226 through 240 (of 455 total)