0
What is the use of SET NOCOUNT ON/OFF statement?

Open 1 Answers 40 Views Technology
What is the use of SET NOCOUNT ON/OFF statement?

1 Answer

0

What is the use of SET NOCOUNT ON/OFF statement?

By default, NOCOUNT is set to OFF and it returns number of records got affected whenever the command is getting executed. If the user doesn't want to display the number of records affected, it can be explicitly set to ON- (SET NOCOUNT ON).

by (53.7k points)
...