i don't want the message as 14 rows updated just it should
update what it will do

Answer Posted / rajesh kumar gupta

Hi,
If you are faceing this issue with sql SERVER THEN ITS
SOLUTION IS
SET NOCOUNT ON : It avoids to diplay message
SEt nocount off : it allows to display message
suppose:
select * from temp1 (Incase 4 rows are there in the table
temp1)
it will prompt you a message as
(4 Row(s) affected)
if you have used
set nocount on

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the stuff function and how does it differ from the replace function? : Sql dba

785


How many databases can sql express handle?

729


What is the difference between partitioning and sharding?

729


Which query operators in sql is used for pattern matching?

717


What is difference between ms sql and mysql?

661






How to display Row Number with Records in Oracle SQL Plus?

767


What is Materialized View? In What Scenario we Use Materialized View?

8935


What mean sql?

737


How do I run a script in sql developer?

700


how to include comments in sql statements? : Sql dba

720


Is sql a backend?

768


Is primary key clustered or nonclustered?

739


What are the types of sql commands?

741


What is scope of pl sql developer in future?

744


what is a trigger? : Sql dba

757