Viewing 15 posts - 1 through 15 (of 84 total)
Good question! Good to be reminded of this about constraints on temporary tables.
March 9, 2012 at 12:52 pm
savethytrees (2/7/2012)
That is why I wanted to know if DROP_EXISTING option will avoid rebuilding the remaining non clustered indexes twice.
I think the following article explains it:
http://msdn.microsoft.com/en-us/library/ms188783.aspx
in the "DROP_EXISTING Clause" section.
February 8, 2012 at 4:57 am
Hi,
You might check pivot: Using PIVOT and UNPIVOT
February 8, 2012 at 4:44 am
GilaMonster (2/7/2012)
February 8, 2012 at 2:49 am
GilaMonster (2/6/2012)
Is it bad form, if you create a QotD, to list your own article as a reference?
I wouldn't mind :). Still, an msdn reference, if there is any relevant,...
February 6, 2012 at 10:23 am
Nice and important question. This issue is coming up time to time when discussing differences of delete and truncate operation.
February 6, 2012 at 1:25 am
L' Eomot Inversé (2/1/2012)
Brigadur (2/1/2012)
Maybe, a warning message would be the most elegant and a good compromise.Cheers
Istvan
I'd prefer to have a configuration option that determines whether it's a warning message...
February 1, 2012 at 8:27 am
GilaMonster (2/1/2012)
Just char, varchar, nchar, nvarchar, binary, varbinary?
Also decimal and numeric (default is numeric(18,0))?
Also time (default is time(7)), datetime2 (default is datetime2(7)) and datetimeoffset...
February 1, 2012 at 8:11 am
I lay my vote for that declaration of varchar/char/nvarchar/nchar/binary/varbinary/etc data types without specifying length should throw an error (or at least warning) by the parser. Anyone, lead me and I...
February 1, 2012 at 8:04 am
Nakul Vachhrajani (2/1/2012)
SQL Kiwi (2/1/2012)
honza.mf (2/1/2012)
I propose to switch the answers #4 and #5. The answer All of above becomes correct in this order.:laugh: I like it!
I like it too!...
February 1, 2012 at 1:34 am
Hm, after some thinking i got it right :), although it is a kind of trick question as, to my knowledge, you cannot directly reference columns in another table, only...
February 1, 2012 at 1:18 am
SQL Kiwi (1/27/2012)
That's the same as the code I posted (just without the /text() optimization).
I don't understand what this /text() optimization does. On my system it makes the...
January 27, 2012 at 7:14 am
Very useful question, thanks. I learnt something about xml parsing and also optimization so far today :). Thanks for all the comments.
I would also like to defend the question. I...
January 27, 2012 at 3:55 am
Viewing 15 posts - 1 through 15 (of 84 total)