PLSQL Assignments Day5 Final
PLSQL Assignments Day5 Final
PACKAGES
Practice 1
Practice 2
Practice 3
a) The function Find_Plan will find out and return the plan id which is used
by maximum customer.
b) The procedure Display_Plan will call Find_Plan function and will display
the Plan name and the corresponding service name.
c) Call the above procedure from anonymous PL/SQL block.
1/3
PL/SQL Day 5
The sample report is shown below :
Service_name:_________
Practice 4
Create a Package pkgDisplay_details which has a public function and a
public procedure as given below :
Invoke the above function and procedure from the anonymous block and display the
values returned by the function.
Practice 5
B. Write a procedure named prNewMovie which inserts a new movie details into
the movie table:
Practice 6
2/3
PL/SQL Day 5
Create a Package named PKG_TRANSPORTS which contains Public members as
mentioned below:
- Public Exception: ROUTE_NOT_FOUND
- Public Procedure: SHOW_DETAILS
3/3