Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the difference between indirect and direct exchange rates.

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago