SET NOCOUNT ON usage

前端 未结 17 1755
抹茶落季
抹茶落季 2020-11-22 05:55

Inspired by this question where there are differing views on SET NOCOUNT...

Should we use SET NOCOUNT ON for SQL Server? If not, why not?

17条回答
  •  失恋的感觉
    2020-11-22 06:04

    if (set no count== off)

    { then it will keep data of how many records affected so reduce performance } else { it will not track the record of changes hence improve perfomace } }

提交回复
热议问题