What is set nocount on and what is set nocount off?
Answer / Raj Kumar Vishwakarma
SET NOCOUNT ON and SET NOCOUNT OFF are SQL Server commands used to control the number of times that an explicit message indicating the number of affected rows is displayed during a batch of statements. By default, SQL Server sends a message after every Data Manipulation Language (DML) statement indicating the number of rows affected.nnSET NOCOUNT ON prevents this behavior, while SET NOCOUNT OFF allows it.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are various ways to enhance the ssrs report?
Explain the concept of recursive stored procedure.
Why should one not prefix user stored procedures with ‘sp_’?
what is diffence between replicaion and logshipping?
How to create a trigger for insert only?
How to convert numeric expression data types by assignment operations?
Why use “in” clause in sql server?
How do you delete a trigger?
How to count the number of duplicate items in a table?
Explain indexes disadvantages?
What is the syntax for encrypting a column in SQL Server?
What are cursors stored procedures and triggers?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)