Viewing post 1 (of 1 total)
To handle nulls, I changed the code to the following:
OLD CODE
set @ValList = @ValList + ' ''+convert(varchar(200),' + @ColName + ')+'''
NEW CODE
set @ValList = @ValList + ' ''''''+isnull(convert(varchar(200),[' + @ColName...
September 4, 2009 at 3:40 pm
#1049631