title: Prevent deletion of all rows of a table
body: <p>Is there a way to prevent deletion of all rows in a table?  I know how to user DDL triggers to prevent dropping a table or truncation.  I once failed to highlight the entire commmand, leaving off the where clause, and deleted all rows in a table.  I want to prevent this from occurring again unless a where clause is present.</p>