Question: PROCEDURE 1 : Write SQL query script that creates a user - defined database role named USER _ B in the WideWorldImporters database. Give ALTER

PROCEDURE 1: Write SQL query script that creates a user-defined database role named USER_B in the WideWorldImporters database. Give ALTER and INSERT permission to the new role for the InvoiceLines table in Sales Schema, UPDATE and INSERT permission for the PurchaseOrderLines table in Purchasing Schema and SELECT permission for the table Cities in Application schema (50 Points).
PROCEDURE 2: Write a script that (1) creates a login ID named "Login_B" with the password "login1111"; (2) gives the user access to the WideWorldImporters database; and (3) assigns the user to the USER_B role you created in Procedure 1(30 POINTS).
PROCEDURE 3: Write a script that removes the user-defined database role named USER_B (20 Points).
PROCEDURE 1 : Write SQL query script that creates

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 Programming Questions!