GSSP-NET · Question #362
You work as a Database Administrator for ABC Inc. The company has a SQL Server 2000 computer. One of the databases on the server contains a table named Employees, for storing information about…
The correct answer is C. Create a stored procedure to modify data. See the full explanation below for the reasoning.
Question
You work as a Database Administrator for ABC Inc. The company has a SQL Server 2000 computer. One of the databases on the server contains a table named Employees, for storing information about employees in the company. There are two employees, Joe and Rick, to whom you want to give additional responsibilities. You want Joe to be allowed to modify only the E-mail column of the table, and Rick should be allowed to modify only the Salary column of the table. Neither Joe nor Rick should be allowed to have permission on the Employees table. You want to ensure that the above rule is followed strictly. What will you do to accomplish this?
Options
- ACreate a user-defined function to modify data.
- BCreate a RULE on both the columns.
- CCreate a stored procedure to modify data
- DCreate a CHECK constraint on both the columns.
How the community answered
(33 responses)- A6% (2)
- B9% (3)
- C82% (27)
- D3% (1)
Community Discussion
No community discussion yet for this question.