Is there an easy way to get the number of records inserted or updated from an insert or update sql statement into a variable that can be used within the stored procedure? I was hoping for something similar to the TABLERESULTS option for DBCC commands.