How do I suppress T-SQL warnings when running a script SQL Server 2005?

后端 未结 1 670
谎友^
谎友^ 2021-01-17 09:17

Is it possible to suppress warnings generated by T-SQL scripts? If so, how?

I know I can turn of the \'records affected\' messages with

SET NOCOUNT O         


        
相关标签:
1条回答
  • 2021-01-17 10:04

    See SET ANSI_WARNINGS {ON | OFF}

    0 讨论(0)
提交回复
热议问题