Newbie question on table design.
Date: 25 Apr 2007 22:48:41 -0700
Message-ID: <1177566521.400997.267690_at_t39g2000prd.googlegroups.com>
Hi,
I have a table T with -- let's say -- a million+ records. The
application allows logical deletion of a small fraction of these
records. (Un-deletion of deleted records is allowed if you have admin
privs via a Priveleges table.)
I can easily think of 2 ways to support record un-/deletion.
This approach will result in...
This approach will result in...
Presently, I tend to like #2 because...
+ simplest possible SQL;
I cannot foresee any other de/merits entailing these approaches. If you can, would you please point them out and/or recommend me your favorite.
Thanks.
A DBMS newbie.
Received on Thu Apr 26 2007 - 07:48:41 CEST