QuestionQ82

VerifiedSecure, optimize, and deploy database solutions

You have an Azure SQL database that contains a table named Sales.Customer. The table has columns named CustomerId, FullName, Email, TaxID, and RegionId.

A support application uses a database role named AppSupport.

Implement a security solution for AppSupport that meets these requirements:

  • Prevent AppSupport from viewing TaxID.
  • Allow AppSupport to query Sales.Customer for troubleshooting.
  • Allow AppSupport to run the Sales.usp_GetCustomerByCustomerId stored procedure.

Which Transact-SQL statements should the solution include?

Community Discussion

No comments yet. Be the first to start the discussion!