Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Invoke an existing Procedure called Emp_Name (iId IN NUMBER, oEmp_FullName OUT VARCHAR2) in an Anonymous Block. Code the statements necessary so you can see

image text in transcribed

1. Invoke an existing Procedure called Emp_Name (iId IN NUMBER, oEmp_FullName OUT VARCHAR2) in an Anonymous Block. Code the statements necessary so you can see message displayed by the stored procedures.

2. Create a single anonymous block to test the procedure discussed above.

a. Define a variable for the Employees table's primary key. Name the variable wEmployeeID and define as a number with 6 digits.

b. Define a variable to be used with the oEmp_FullName parameter of 'Emp_Name'. It must be a character field with a maximum of 30 bytes long.

c. Call the Emp_Name stored procedure.

* The ID field must be passed using the defined field in step 'a' above. It must have a value of one(1).

* The result returned by Emp_Name must be stored in the field defined in 'b' above.

* After the call, display a message "The employee ID# 1 is Even Matias."

Note: This assignment is doing with PL/SQL and make sure the output is shown in your client after executing Anonymous Block.

Emplo Employees NUMBER) VARCHAR20 VARCHAR2) VARCHAR2201 Lastline Emplo Employees NUMBER) VARCHAR20 VARCHAR2) VARCHAR2201 Lastline

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Which of the following is an example of digital media?

Answered: 1 week ago

Question

2. Show the trainees how to do it without saying anything.

Answered: 1 week ago