Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started