Viewing 15 posts - 8,671 through 8,685 (of 18,926 total)
Here's the official MS answer :
Hi, Thanks for your feedback. The behavior you are seeing is by design. Using assignment operations (concatenation in this example) in queries with ORDER...
December 1, 2008 at 1:21 pm
I don't really see how much testing this would require...
SET @CI = 'CREATE NONCLUSTERED INDEX #IX_TmpTable_spName ON #Temp ('
if @parm 1 IS NOT NULL or @Param2 is not null
begin
SET @CI...
December 1, 2008 at 11:12 am
Just an idea... are you able to conditionnaly choose which index to build depending on what conditions are set to be used in the query?
Here's the idea...
create index on PK...
December 1, 2008 at 10:26 am
Steve Jones - Editor (12/1/2008)
Jeff, it's not often someone is going to teach you something about T-SQL.
Still rolling on the floor on that one... can't be more true than that!!!
December 1, 2008 at 8:12 am
Sure you can go with the "cheap" one... but look at the # of posts answered and see for yourself who is better qualified for the job :D.
December 1, 2008 at 7:29 am
I need some help here... how can the same amount of data sent on the wire require less resources, less work on the 2nd run... all that because of the...
December 1, 2008 at 7:02 am
Can you explain to me why the network traffic would change for the exact same result set... having the exact same amount of data?
I know that query is about 30...
December 1, 2008 at 5:21 am
That code makes no sense to me... maybe I'm missing the point.
In any case, if you were using the inserted table in the trigger, you would have no problems if...
November 30, 2008 at 11:57 am
I see the value in all those good tips... but since almost all my triggers do an inner join on the inserted and deleted tables... the fact that no rows...
November 30, 2008 at 11:43 am
I know what you mean, I used to take all those comments as they weredirected straight at me some time... forgetting the nature of the boeard :)... but that's...
November 29, 2008 at 10:30 am
Jeff Moden (11/28/2008)
Heh... Read it? I wrote it! 😉
Somebody deleted some posts because that message is not making any sense now!
November 29, 2008 at 5:13 am
Thanks for the correction Jeff... you clearly said what I meant silently :P.
A 5 row triangular join won't kill many servers.... but what if the report needs to return the...
November 28, 2008 at 9:34 am
Again about the 10%/30%, I was thinking about another version of the script that I wanted to implement...
The query of the dm views runs in around 2 minutes (over 50...
November 28, 2008 at 5:23 am
... of course the cost of this query would be quite more considerable (maybe 2 or 3 times) if this was a real table with 1000 bytes of data and...
November 28, 2008 at 4:51 am
Viewing 15 posts - 8,671 through 8,685 (of 18,926 total)