开发者

tsql permission

I need to configure restricted permissions on sql server 2008 to a specified user as following :

The given user must not be able to drop tables, functions, sps.


Read from all tables -> Assign db_datareader role

Write into all tables -> Assign db_datawriter role

Read permission on a few tables

Grant Select To <Username> on <tablename>

Create view

GRANT CREATE VIEW TO <Username>;

To Delete View you should explicitly give viewname like

GRANT Delete VIEW TO <Username> On <TableName>

If you want some details on this you should read through : This microsoft documentation

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜