Microsoft
70-457 · Question #80
You administer a Microsoft SQL Server 2012 database named ContosoDb. The database contains a table named Suppliers and a column named IsActive in the Purchases schema. You create a new user named…
The correct answer is B. CREATE PROCEDURE. See the full explanation below for the reasoning.
Question
You administer a Microsoft SQL Server 2012 database named ContosoDb. The database contains a table named Suppliers and a column named IsActive in the Purchases schema. You create a new user named ContosoUser in ContosoDb. ContosoUser has no permissions to the Suppliers table. You need to ensure that ContosoUser can delete rows that are not active from Suppliers. You also need to grant ContosoUser only the minimum required permissions. Which Transact-SQL statement should you use?
Options
- AGRANT DELETE ON
- BCREATE PROCEDURE
- CGRANT SELECT ON
- DCREATE PROCEDURE
How the community answered
(68 responses)- A3% (2)
- B78% (53)
- C12% (8)
- D7% (5)
Community Discussion
No community discussion yet for this question.