Possible Duplicate:
What to do when I want to use database constraints but only mark as deleted instead of deleting?What to do when I want
Possible Duplicate:
What to do when I want to use database constraints but only mark as deleted instead of deleting?What to do when I want