GRANT specific role ALTER access to specific table

前端 未结 2 1025
情歌与酒
情歌与酒 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:45
    GRANT ALTER ON [dbo].[theTable] TO [role] 
    GO
    
    0 讨论(0)
  • 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')
    ;
    0 讨论(0)
提交回复
热议问题