Home Forums SQL Server 2014 Development - SQL Server 2014 Delete statement RE: Delete statement
Phil Parkin
SSC Guru
Points: 247210
More actions
April 21, 2017 at 5:45 am
#1939280
A more efficient way of coding this is to perform the deletion and then check @@ROWCOUNT afterwards, thus hitting the table once per deletion rather than twice.