GRANT specific role ALTER access to specific table

前端 未结 2 1026
情歌与酒
情歌与酒 2021-02-15 07:07

I have tried many ways to do this with no success, but what I want to do is the following:

GRANT ALTER ON [dbo].[theTable] TO [role]

Bonus if y

2条回答
  •  余生分开走
    2021-02-15 07:58

    GRANT ALTER ON object TO principal is the correct form of the statement in your case.

    To view the permissions granted to you on the object, use the fn_my_permissions function like this:

    SELECT *
    FROM sys.fn_my_permissions('object', 'OBJECT')
    ;

提交回复
热议问题