开发者

GRANT VIEW on 1 database

Is there any work arou开发者_运维百科nd to grant view on a particular database after executing the below code?, I am using MS SQL 2008 RC2.

REVOKE VIEW ANY DATABASE FROM <login>;

Thanks


As far as I know, REVOKE wins, so you may need to grant VIEW ANY and then deny on all of the other databases individually. This is less fun of course but you can automate this without having to do it one by one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜