Business > CASE STUDY > HW7-530.docx HW7 Advanced Database Management System Module 5: HW7 1. Write a script t (All)

HW7-530.docx HW7 Advanced Database Management System Module 5: HW7 1. Write a script t

Document Content and Description Below

HW7-530.docx HW7 Advanced Database Management System Module 5: HW7 1. Write a script that creates a user-defined database role named PaymentEntry in the AP database. Give UPDATE permission to the ... new role for Invoices table. Update and insert permission for the InvoiceLineItems table and SELECT permission for all the user tables. CODE: CREATE ROLE PaymentEntry; GRANT SELECT TO PaymentEntry; GRANT UPDATE ON Invoices TO PaymentEntry; GRANT INSERT, UPDATE ON InvoiceLineItems TO PaymentEntry; SCREENSHOT: 2. Write a script that (1) creates a login ID named œAAaron  with the password œaaar9999 . (2) sets the default database for the login to the AP database. (3) creates a user named œAaron  for the login. And (4) Assign the user to the PaymentEntry role you created in Exercise 1. CODE: USE AP; CREATE LOGIN AAaron WITH PASSWORD = 'aaar9999', DEFAULT_DATABASE = AP; CREATE USER Aaro. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [Show More]

Last updated: 2 years ago

Preview 1 out of 9 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$10.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

83
0

Document information


Connected school, study & course


About the document


Uploaded On

Jul 22, 2021

Number of pages

9

Written in

Seller


seller-icon
helperatsof1

Member since 4 years

48 Documents Sold

Reviews Received
1
0
0
0
2
Additional information

This document has been written for:

Uploaded

Jul 22, 2021

Downloads

 0

Views

 83

Document Keyword Tags

Recommended For You

Get more on CASE STUDY »

$10.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·