简体   繁体   中英

Permission to drop table on a schema in SQL

是否存在允许用户在架构上而不是在所有数据库上删除表的权限,例如GRANT DROP TABLE TO

From the documentation you can notice that DROP is not a grantable permission.

The only people who can drop a table are : The dbo, the owner of the schema, the owner of the table (usually the schema owner but it can be changed to someone else), members of the db_ddladmin fixed database role, members of the db_owner fixed database role, members of the sysadmin fixed server role, grantees of the CONTROL permission on the table or permissions that imply control on the table and grantees of the ALTER permission on the schema or permissions that imply alter on the schema.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM