Subject | Re: [firebird-support] How can I prevent DELETE/INSERT/UPDATE on a table |
---|---|
Author | Martijn Tonies |
Post date | 2005-08-01T14:41:39Z |
> >What can I do to prevent DELETE/INSERT/UPDATE on a table?Alternatively, raise an exception in the trigger and the changes will
> >I suspect a trigger will be involve, but...
>
> Not really. By the time a trigger fires, the operation is already under
> way, i.e. allowed.
>
> Use privileges. Assign the desired set of restrictive privileges to a
> role; then assign that role to the users you want to restrict.
be cancelled.
With regards,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com