angrysqlbird
angrysqlbird

Reputation: 31

How do I revoke (grant drop on any table) from a user?

I have a user with privilege Drop on Any Table. I need to revoke that. They only should have drop privileges on their own tablespace.

My setup is three schemas, production, reporting and ETL transfers if that makes any difference.

Upvotes: 3

Views: 6094

Answers (2)

psrdotcom
psrdotcom

Reputation: 1

If you are using Oracle

Syntax:

Revoke DROP Any Table from

In SQL Server

http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/c562ef25-3157-4068-8957-9095e31b1ffc/

Upvotes: 0

vc 74
vc 74

Reputation: 38179

Try

REVOKE DROP ANY TABLE FROM X

Upvotes: 6

Related Questions