Hi, I need to find out all the deleted records in a table, and am thinking about writing a store procedure to do it and get stuck. Please help me out.
We have a SQL 2005 table which the PK is an identity column, and we allow users to delete the records. I need to find out which records were deleted and print out the missing PK column.
Appreciate it.
We have a SQL 2005 table which the PK is an identity column, and we allow users to delete the records. I need to find out which records were deleted and print out the missing PK column.
Appreciate it.