Is there a way to deny drop permissions for a specific table from a user or role?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
If you need to prevent to drop the table by some user, try this:
Try using the DDL trigger FOR DROP_TABLE: