DBM405B Lab 5 in PL/SQL – Using Procedures and Functions – PL/SQL Script with 8 Screenshots – Instant Delivery – Perfect Solution

Lab Price = \$23
Payment methods

Problem Statement

A. Lab 5 of 7 : Using Procedures and Functions

B. Lab Overview – Scenario/Summary:

You have been asked to implement procedure and function calls to perform some arithmetic calculations. Parameters/arguments will be passed into the functions and procedures, and results will be returned.

Upon completing this lab assignment, students would have a better hands-on understanding of how to construct and execute subprograms using procedures and functions within SQL PL.

C. Deliverables:

Lab Steps (all done in power systems) Points
Step 1 Procedure Calls 30 Pts.
Step 2 Function Calls 30 Pts.
Total Lab Points 60 Pts.

D. Lab Steps:

Step 1: Procedure Call

a) You will create two procedures, one of which will call the other. For the purposes of these instructions, we will refer to the calling procedure as the “outer” procedure, and the called procedure as the “inner” procedure, but you should name these items whatever you want in your code.
b) The outer procedure will feed the inner procedure a U.S.-dollar amount and the name of a currency, and the inner procedure will return the equivalent amount of the specified currency, using the conversion rates supplied in the following table:

Currency One type of this currency is worth this many U.S. dollars:
Euro 1.2673
Pounds Sterling 1.8655
Mexican Peso 0.0908265

c) You will call the inner procedure/function four times from the outer procedure, passing in the same dollar value (your choice) and a different currency name each time. The outer procedure should use the value received from the conversion procedure/function to populate an OUT variable (you’ll need four separate out variables) with a message of the following form (dynamic content in brackets):

[Date and Time]: \$[input dollar amount] USD converts to [converted amount] of [input currency name]

Step 2: Function Call
a) Modify the code in Step 1 such that the inner procedure is now a function. All other aspects of the problem should remain the same.
END OF LAB 5

For Submission into the Week 5 iLab Dropbox:
Zipped file containing:
• SQL PL code for each task
• Screenshots of output from executing each task

Relevant Material
Lab Price = \$23
Screenshots
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.