June 12, 2018 at 2:06 pm
Paul White:
How do I actually use your inline table function?
After the creating the function, I ran this:
DECLARE @BitBucket VARCHAR(8000);
SELECT @BitBucket = iTVF.cleaned
FROM [vdvPosPayPNCBank_RKL] D
CROSS
APPLY dbo.IF_CleanWithReplace(D.PayeeName1) iTVF;
which simply returns 'Commands completed successfully.'
June 12, 2018 at 2:21 pm
dhart - Tuesday, June 12, 2018 2:06 PMPaul White:
How do I actually use your inline table function?After the creating the function, I ran this:
DECLARE @BitBucket VARCHAR(8000);
SELECT @BitBucket = iTVF.cleaned
FROM [vdvPosPayPNCBank_RKL] D
CROSS
APPLY dbo.IF_CleanWithReplace(D.PayeeName1) iTVF;which simply returns 'Commands completed successfully.'
That's just assigning values to the variable. It's a method to test execution times. To actually return rows, use a proper column list instead.
Viewing 2 posts - 46 through 48 (of 48 total)
You must be logged in to reply to this topic. Login to reply