Viewing 15 posts - 181 through 195 (of 455 total)
Good question, but the answer isn't quite right.
You cannot use TRUNCATE TABLE on tables that are referenced by a FOREIGN KEY constraint UNLESS that table has a foreign key that...
September 30, 2013 at 9:01 am
Hugo Kornelis (9/24/2013)
-- /* select 'Samith' name
*/...
September 24, 2013 at 1:56 pm
Mike Dougherty-384281 (9/24/2013)
...These subtleties of line-commented block-comment and comments-with-comments defeats the whole purpose of comments: to clarify what should be already readable & well-written code.
...
Clarification is not the entire...
September 24, 2013 at 1:52 pm
So if you don't need the features that rely on guest access, you can disable it in msdb?
So the correct answer should be "It depends on the security requirements"?
The correct...
September 23, 2013 at 8:05 am
Primo Dang (9/19/2013)
sknox (9/19/2013)
Consider, for example, the following:
DECLARE @Start datetime = getdate();
SELECT * FROM v_SeveralMinutesToExecuteView;
DECLARE @End datetime = getdate();
SELECT DATEDIFF(ms,@Start,@End) as TimeToExecute;
If values were set during parse time, @Start and...
September 19, 2013 at 10:59 am
raulggonzalez (9/19/2013)
Thanks for the question.Interesting the logical execution of
declare @word varchar(100) = 'apple'
in two phases.
It makes sense, though. It's more efficient to allocate space for objects in one pass...
September 19, 2013 at 7:49 am
L' Eomot Inversé (9/12/2013)
September 12, 2013 at 12:15 pm
Carlo Romagnano (9/11/2013)
set ansi_warnings off
DECLARE @i TABLE( mychar VARCHAR(10));
INSERT @i VALUES ('Steve'), ('Stephan'), ('Stephanie')
...
September 11, 2013 at 6:59 am
dwain.c (9/9/2013)
Didn't know about the SQL Connect article (quite interesting) but I did know the syntax wasn't ANSI standard,...
September 9, 2013 at 12:43 pm
david.gwalter (9/8/2013)
First time I have come across a question with an incorrect answer.A little disappointing for a novice like myself.
I find that even for questions that are well and correctly...
September 9, 2013 at 5:55 am
Hugo Kornelis (9/3/2013)
sknox (9/3/2013)
Wow.Nobody's mentioned what I consider to be the biggest problem with this question yet.
You must have overlooked the things already mentioned about ordering by Rune Irvin, Terreador,...
September 3, 2013 at 8:21 am
Wow.
Nobody's mentioned what I consider to be the biggest problem with this question yet.
I'm talking about the following two answer choices:
The first query returns a Tally table and the second...
September 3, 2013 at 6:13 am
SQLRNNR (8/27/2013)
For me, the wording of the question implies that a requirement of a heap be that it is completely devoid of indexes.
Then you're not thinking in set-based terms.
The...
August 27, 2013 at 8:12 am
sknox (6/18/2013)
Hugo Kornelis (6/18/2013)
June 18, 2013 at 8:24 am
Hugo Kornelis (6/18/2013)
June 18, 2013 at 8:06 am
Viewing 15 posts - 181 through 195 (of 455 total)