We would like to use two different tables, one will hold an object when it is 'Active', and the other will hold the object once it becomes'Non-Active'. The ID is therefore unique per both tables (combined). How can we create a constraint for the ID such that the ID appears only once for both tables?
We are using SQL Server.