Compound/Dynamic SQL Statement - HELP

  • do you mind to post what - print @strSQL - looks like after the last select

     


    * Noel

  • I'm new at this and wasn't aware of print (string) but doing this I found my problem! 

     It was really stooopid.  I had limited the @strSQL variable to 800 so it wasn't capturing the end of the statement!

    Thanks for your help!

Viewing 2 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply