Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Question: Use Trigger to Prevent Deletes with no Where Clause?

Question: Use Trigger to Prevent Deletes with no Where Clause?

From: Jesse <davisjj_public_at_comcast.net>
Date: 13 Jan 2005 11:24:28 -0800
Message-ID: <1105644268.227713.55120@f14g2000cwb.googlegroups.com>


Hi all. We recently discovered a bug in one of our applications (it's in Visual Basic; we inherited it) that under an obscure set of conditions executes a "DELETE FROM [table]" without a where clause. We can fix the app, but getting it certified for use takes time; however, I can make various administrative changes to the database however without approval.

My question is, can I use a "before" trigger to detect the mass "DELETE FROM" statement and prevent it from executing?

Thanks.

Jesse Received on Thu Jan 13 2005 - 13:24:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US