Viewing 15 posts - 54,136 through 54,150 (of 59,065 total)
Sounds to me like Tab1 is nothing more than a subset of Tab2... that would cause such a return even though only an inner join were present.
November 13, 2007 at 12:43 am
vaidyanathan_kalyanasundaram (10/30/2007)
On a remote server...but my log in id has accees to SP_Sdidebug
I can't find any documention to support my thought on this, but don't you need to have "SA"...
November 13, 2007 at 12:39 am
1. Pretty sure the answer is "No".
2. I guess I'm not sure what you mean anymore... you can get a result set from a sproc and use it...
November 13, 2007 at 12:34 am
Well Jeff, it looks like you've got another comparison between the new 2005 T-SQL options and good 'ol fashioned set based operations. Here's another great reason not to jump right...
November 13, 2007 at 12:27 am
1. Yes... you would need to use it in dynamic SQL within the sproc, though.
2. No, but you can from a User Defined Function... (table variable, that is).
November 13, 2007 at 12:09 am
I can tell you you'll never get "8" because it has the exact same criteria as "7" which will always qualify first in your case statement. They ARE order...
November 13, 2007 at 12:07 am
I'd only be regurgitating what's in Books Online... recommend you lookup "DELETE" in Books Online for a full explanation of SQL Server's proprietary and nasty fast DELETE. You might...
November 12, 2007 at 11:55 pm
Things like this are normally simple syntax errors... of course, no one can troubleshoot that for you because you didn't post any code 😉
November 12, 2007 at 11:53 pm
Oh, I understand what you want to do... but why do you want to do this to perfectly good data? Why do you need all of 1 person's info...
November 12, 2007 at 11:47 pm
Now I remember... it's called "Parameter Sniffing" and, apparently, it can crush otherwise effecient code. Lots of good info on the Web about it... Google it...
November 12, 2007 at 11:36 pm
Of course it's going to take some time... your sproc has four relatively large SELECTS and they ALL must be recompiled even if only one is going to be used...
The...
November 12, 2007 at 11:31 pm
Viewing 15 posts - 54,136 through 54,150 (of 59,065 total)