What are the advantages and disadvantages of turning NOCOUNT off in SQL server queries?

后端 未结 7 665
故里飘歌
故里飘歌 2021-01-04 03:35

What are the advantages and disadvantages of turning NOCOUNT off in SQL server queries? ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

7条回答
  •  北荒
    北荒 (楼主)
    2021-01-04 04:18

    I always have it set to ON for the reasons above, but if you have more than 1 result set in your proc it could mess up client code

提交回复
热议问题