Viewing 15 posts - 1,456 through 1,470 (of 3,348 total)
Toreador (9/30/2014)
hjp (9/23/2014)
September 30, 2014 at 10:13 am
edwardwill (9/29/2014)
Hugo Kornelis (9/26/2014)
September 29, 2014 at 2:19 pm
TomThomson (9/26/2014)
September 26, 2014 at 12:54 pm
Gary Varga (9/24/2014)
September 24, 2014 at 1:49 pm
Carlo Romagnano (9/23/2014)
Triggers on tables execute only if at least ONE row is affected. So, explanation is wrong.
Select code from question
Copy
Paste
Execute
Insert foot into mouth and chew.
Sorry, Carlo, but you are...
September 24, 2014 at 1:47 pm
What, all those links but none for further reading on CHTM? I am disappointed!
Just kidding, of course.
Thanks for the laugh!
September 24, 2014 at 1:44 pm
Good question, mediocre explanation.
This has nothinng to do with the ISNULL being executed or not. The correct explanation would be that the SELECT assigns a value once for each row...
September 22, 2014 at 11:52 am
Koen Verbeeck (9/11/2014)
Please don't say truncate table data isn't logged unless you understand the concepts involved.😉
Allow me to rephrase that.
Please don't say...
September 12, 2014 at 1:21 pm
I fail to see the point of this question.
I personally think the maximum nesting depth of 160-odd is completely irrelevant. Rewrite your code, long before you ever hit this.
But if...
September 10, 2014 at 2:09 pm
TomThomson (9/4/2014)
I have written quite a few parsers, and handling what I've described is not at all hard
That comment was not directed at you or your proposal. 🙂
One more reason...
September 5, 2014 at 12:27 pm
DrKiller (9/4/2014)
CTEs doesn't ALWAYS need a semi-colon in front.
This for example works fine:
DECLARE @tmpVariable INT
WITH cte
AS
(
SELECT 1/0 as 'Result'
)
SELECT *
FROM...
September 4, 2014 at 12:20 pm
Depending on interpretation of the question, there are three or four correct answers, not two. And the explanation of the correct answers is also wrong. Really a missed opportunity,
"#table dose...
August 27, 2014 at 2:42 pm
I am torn between two opinions on this question.
It is a good question because of the educational value on how the optimizer works and how indexes are (can be) used.
But...
August 27, 2014 at 2:27 pm
SQLRNNR (8/22/2014)
Raghavendra Mudugal (8/21/2014)
TomThomson (8/21/2014)
twin.devil (8/21/2014)
Just for the information.Becuase #table names max length is only 116 characters in SQL Server 2008 r2. its also valid of SQL SERVER 2012.
It's...
August 22, 2014 at 1:18 pm
Raghavendra Mudugal (8/18/2014)
But I still don't understand how my asking is wrong?
You asked how to achieve the same speed without nolock. That question suggests that if it would not be...
August 18, 2014 at 2:52 pm
Viewing 15 posts - 1,456 through 1,470 (of 3,348 total)