Question: 1 . Write a script that creates a user - defined database role named PaymentEntry in the AP database. Give UPDATE permission to the new
Write a script that creates a userdefined database role named PaymentEntry in the AP database. Give UPDATE permission to the new role for the Invoices table, UPDATE and INSERT permission for the InvoiceLineItems table, and SELECT permission for all user tables. Write a script that creates a login ID named "AAaron" with the password "aaar; sets the default database for the login to the AP database; creates a user named "Aaron" for the login; and assigns the user to the PaymentEntry role you created in exercise Using the Management Studio, create a login ID named "FFalk" with the password "ffal and set the default database to the AP database. Then, create a user for the login ID named "FFalk" and assign the user to the PaymentEntry role you created in exercise
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
