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 trigger in sql and its types?

532


what is the difference between a having clause and a where clause? : Sql dba

517


What is a system versioned table?

527


What is the life of an sql statement?

521


what is uncommittable transactions? : Transact sql

563






Can we create view in stored procedure?

522


What is plpgsql language?

526


what are the advantages of sql ? : Sql dba

541


What are the most important ddl statements in sql?

573


What are actual parameters and formal parameters?

565


Explain the rollback statement?

570


The in operator may be used if you know the exact value you want to return for at least one of the columns.

554


Explain how exception handling is done in advance pl/sql?

549


explain about mysql and its features. : Sql dba

543


Explain isolation levels. : Transact sql

574