Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
whenever we create a trigger on any DML operations., after creation, if i do amy DML operations it shows

1 row(s) affected
12 row(s) affected

here the first msg belongs to the insertion on the table and 2nd result belongs to the result of firing the trigger. So can i disable the msg the comes due to the result of trigger being fired???

thanks a lot for suggesting any ideas in advance..
Posted

1 solution

Hey
write set nocount on at start line

eg.
set nocount on
-- insert query
Good Luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900