Home » RDBMS Server » Server Administration » Drop table
Drop table [message #57933] Mon, 21 July 2003 02:17 Go to next message
Raj Mathur
Messages: 11
Registered: April 2002
Junior Member
if there is any way to monitor or restricting a user to drop his tables as a dba's point of view.
can we put any restriction or monitor whether a user deleting his own table .Can we create a trigger
for that
Re: Drop table [message #57934 is a reply to message #57933] Mon, 21 July 2003 03:46 Go to previous message
Martin Lehmann
Messages: 3
Registered: June 2003
Junior Member
Hi,
You can use a database trigger.
CREATE TRIGGER audit_db_object BEFORE DROP
ON <schema>
begin
.....

end;
/
SQL Reference Manual 9i
Previous Topic: HostNaming
Next Topic: ORA-04021 Timeout error while waiting to lock the object
Goto Forum:
  


Current Time: Fri Sep 20 07:19:35 CDT 2024