You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema. Some users must be prevented from deleting records in any of the tables in the Sales schema. You need to manage users who are prevented from deleting records in the Sales schema.
You need to achieve this goal by using the minimum amount of administrative effort.
What should you do?
A . Create a custom database role that includes the users. Deny Delete permissions on the Sales schema for the custom database role.
B . Include the Sales schema as an owned schema for the db_denydatawriter role. Add the users to the db_denydatawriter role.
C . Deny Delete permissions on each table in the Sales schema for each user.
D . Create a custom database role that includes the users. Deny Delete permissions on each table in the Sales schema for the custom database role.
Answer: A
Leave a Reply