Viewing 4 posts - 1 through 4 (of 4 total)
The Inline Function will be a LOT faster than a multi statement Function.
The reason you think the multi Statement Version is faster, is that in your Execution Plan the multi...
March 5, 2013 at 8:21 am
I'd probably go with something like this :
Select a.IDA, b.Status, b.IDB
from tblA a INNER JOIN tblB b on a.IDA = b.IDB
...
February 27, 2013 at 6:56 am
You are replacing the comma with an empty string, that will result in incorrect results even without running into the overflow.
have a look at the 2 examples below, that should...
February 13, 2013 at 2:58 am
It would help if you post the entire SP's code, but i would assume, that the table variable gets populated before the cursor gets opened.
The cursor gets populated by...
February 12, 2013 at 8:40 am
Viewing 4 posts - 1 through 4 (of 4 total)