Home Forums SQL Server 2008 SQL Server 2008 Performance Tuning Insert Trigger and @@rowcount problem - Performance Issue RE: Insert Trigger and @@rowcount problem - Performance Issue
jcb
SSCertifiable
Points: 6574
More actions
November 19, 2013 at 1:00 pm
#1667557
Question: a select count(1) from inserted ill return the number of inserted rows?
just for the record: avoid triggers, they are evil.
avoid to put business logic in the database, let the application to handle it in the appropriate layer.