Viewing 2 posts - 16 through 17 (of 17 total)
Hi Lynn,
Thanks for the response.
I didn't save the proc script. I just tried a few permutations but the error message was something like incorrect syntax near "set"
I will...
May 29, 2015 at 11:13 am
#1801666
Hi again.
here is the original script before any adjustments.
-- Dynamic PIVOT
IF OBJECT_ID('#External_Referrals') IS NULL
DROP TABLE #External_Referrals;
GO
DECLARE @T AS TABLE(y INT NOT NULL PRIMARY KEY);
DECLARE
@cols AS NVARCHAR(MAX),
@y AS...
May 29, 2015 at 10:12 am
#1801648