Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Script Table Data to Insert Statements

    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...

Viewing post 1 (of 1 total)