I have given one data base user read permission only, using db_datareader
role.
Now, I need to give the same user permission to update only one table (PROD.CustomerRelations).
Is there any way to give this permission ?
EDIT:
I have tried the below method, but still I cannot update. I'm accessing SQL Server DB thru Microsoft Access.
Allow update access to only 2 tables in a database schema
I guess the above method does not work because I used Deny
for Delete
, Update
and Insert
in the screen Database Properties -> Permissions -> Explicit permissions for [domain\user1]
Best Answer
grant update on object::PROD.CustomerRelations to db_user
https://docs.microsoft.com/en-us/sql/t-sql/statements/grant-object-permissions-transact-sql?view=sql-server-2017