Академический Документы
Профессиональный Документы
Культура Документы
Directions : Perform the following activity Managing roles by applying different type of privileges.
: Copy and paste the DEPARTMENTS table included in this activity.
: In each number add the PL/SQL used.
: Answer the questions ask in each number.
: Skipping a number would cause different output consider as incorrect answer.
1. What privilege should a user be given to log on to the Oracle server? Is this a system or an object
privilege?
OBJECT – because it is enables users to access and manipulate the object.
CS352-DBMS2-MAS Page 1
NAME: COURSE:
TITLE: Manage role and apply privileges ID:
Laboratory Exercises No. 1 DATE:
CS352-DBMS2-MAS Page 2
NAME: COURSE:
TITLE: Manage role and apply privileges ID:
Laboratory Exercises No. 1 DATE:
Is adding the new values when log-on as CLERK is possible? Why and why not?
_________________________________________________________________________________
18. Log-on as System then revoke all the object privilege given to SUPERVISOR.
ADD THE PL/SQL used here:
19. Log-on as Supervisor.
Create a report that will display all the DEPARTMENT_NAME whose location_id is equal to 1700.
Is creating a report possible? Why and why not?
Log-on as Clerk.
Create a report that will display all the manager_id whose location_id is equal to 2500.
Is creating a report possible? Why and why not?
20. Log-on as SYSTEM then delete all the users created to free-up some memory space.
ADD THE PL/SQL used here:
CS352-DBMS2-MAS Page 3