QuestionQ82
VerifiedSecure, optimize, and deploy database solutionsYou 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
AppSupportfrom viewingTaxID. - Allow
AppSupportto querySales.Customerfor troubleshooting. - Allow
AppSupportto run theSales.usp_GetCustomerByCustomerIdstored procedure.
Which Transact-SQL statements should the solution include?
Select
To run Sales.usp_GetCustomerByCustomerId:
To query Sales.Customer:
To prevent viewing TaxID:
Community Discussion