Question: 1. Write a script that a. creates a server login ID named AmalB with the password aaar999 b. sets the default database for the login

 1. Write a script that a. creates a server login ID

1. Write a script that a. creates a server login ID named AmalB with the password aaar999 b. sets the default database for the login to the AP database C. sets check policy to off d. creates a database user named "Amal for the server login. Use USE master' for creating the login ID and use USE AP' for creating the database user. 2. Write a script that a. creates a user-defined database role named PaymentEntry in the AP database b. provides the following permissions to the role UPDATE permission for the Invoices table UPDATE and INSERT permission for the InvoiceLineltems table SELECT permission for all tables in the AP database C. Assign the database user created earlier to the PaymentEntry role

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!