Quantcast
Channel: Find all missing records
Viewing all articles
Browse latest Browse all 10

Find all missing records

$
0
0
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.

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>