Answer by ThomasRushton
Switch OBJECT_ID(N"[dbo].[ICT_Results' + @ProgramID + ']") for OBJECT_ID(N''[dbo].[ICT_Results' + @ProgramID + ']'') You'll need to do the same for the TYPE='U' bit too.
View ArticleAnswer by Softman
Thank you Thomas, that worked, been scratching my head over this one for a while until I thought of posting here.
View Article
More Pages to Explore .....