Home Forums SQL Server 2005 T-SQL (SS2K5) Disable print in a stored procedure - TSQL - Example: Print 'This is my result' RE: Disable print in a stored procedure - TSQL - Example: Print 'This is my result'

  • I'd say that you should wrap them in an IF clause, but if you can't add a parameter or logic, that might not help.

    Are the print statements used? If not, I'd comment them out and alter the proc so they don't execute.

    AFAIK, there's no way to prevent them if they're in code.