Question: Write a script that Creates a user-defined database role name PaymentEntry in the AP database. Give Update permission to the new role for the Invoices
Write a script that
Creates a user-defined database role name PaymentEntry in the AP database.
Give Update permission to the new role for the Invoices table.
Give Update and Insert permission for the InvoiceLineItems.
Give Select permission for all user tables.
| GRANT UPDATE ON Invoices TO PaymentEntry; | ||||||||||||||||||||||||||
| GRANT CRUD ON Invoices TO PaymentEntry; | ||||||||||||||||||||||||||
| ALTER ROLE db_datareader ADD MEMBER PaymentEntry; | ||||||||||||||||||||||||||
| CREATE ROLE PaymentEntry; | ||||||||||||||||||||||||||
| GRANT READ ON Invoices TO PaymentEntry; | ||||||||||||||||||||||||||
| GRANT INSERT,UPDATE ON InvoiceLineItems TO PaymentEntry;
Before you can drop the user-defined database role named PaymentEntry, you must ____.
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
