I have a long stored procedure (dynamic sql) that I am trying to print out so I can debug it. The SQL is contained in this variable - @sSQL.
When I run this PRINT statement, it keeps getting cut off:
How can I overcome this? I am trying to determine how to print ranges.. for example, print the first 200 lines, then print lines 201-400, then print lines 401-600, etc.