Question: Database Security Lab Unit 7 Lab Exercise 1 Write a script that creates a user - defined database role in the AP database. Name this
Database Security Lab
Unit Lab Exercise
Write a script that creates a userdefined database role in the AP database. Name this new role
PaymentEntryXX where the XX are your initials. Give UPDATE permission to the new role for the
Invoices table, UPDATE and INSERT permission for the Invoicelineltems table, and SELECT
permission for all user tables. Make sure to include a comment at the top of the script with
your name and the date you coded the script. Format this comment like the following sample:
PaymentEntryXX Role Creation Script
Coded by: Your Name
Coded on: MMDDYY
Paste below this line the Script you wrote for this exercise
Paste here
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
