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 -> Re: Question: Use Trigger to Prevent Deletes with no Where Clause?

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

From: Jesse <davisjj_public_at_comcast.net>
Date: 14 Jan 2005 10:43:21 -0800
Message-ID: <1105728201.162217.85750@c13g2000cwb.googlegroups.com>


As xhos said (sort of ;-), this was a very specific scenario where a client application was to discovered to have a bug that would execute a delete with no "where" on a specific table under a very specific set of conditions. The application will be fixed, but there's a lot of paperwork involved in that (and approvals). I can add a trigger such as this without much effort. I tested this on a development box and it worked great for this scenario (thanks again Thom!). We put it into production just a few minutes ago.

It's also nice to know about the ora_sql_text command (and where to find the docs on it and the other ora_ commands).

Jesse Received on Fri Jan 14 2005 - 12:43:21 CST

Original text of this message

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