1

我有 2 个架构和 3 个通用用户来访问我的数据库中的数据

Schema : EMSMaster and EMSTransactional
Users : BN_USER, MBN_USER and SUPER_ADMIN

我的权限应该是

BN_USER  - select on EMSMaster 
       select, insert and update on EMSTransactional

MBN_USER - select, insert, update on EMSMaster
       select, insert, update and Delete on EMSTransactional

有没有办法在 Schema 上授予这种权限?请建议我一些实现这种权限的好方法。

4

1 回答 1

2
GRANT SELECT ON schema :: EMSMaster TO BN_USER 
GRANT SELECT, INSERT, UPDATE ON schema :: EMSTransactional TO BN_USER 

GRANT SELECT, INSERT, UPDATE ON schema :: EMSMaster TO MBN_USER 
GRANT SELECT, INSERT, UPDATE, DELETE ON schema :: EMSTransactional TO MBN_USER 
于 2012-06-27T06:44:09.340 回答