What is FORWARD DECLARATION in Packages?
Answer Posted / kiran kumar
PL/SQL allows for a special subprogram declaration called a
forward declaration. It consists of the subprogram
specification in the package body terminated by a semicolon.
You can use forward declarations to do the following:
? Define subprograms in logical or alphabetical order.
? Define mutually recursive subprograms.(both calling each
other).
? Group subprograms in a package
Example of forward Declaration:
CREATE OR REPLACE PACKAGE BODY forward_pack
IS
PROCEDURE calc_rating(. . .); -- forward declaration
PROCEDURE award_bonus(. . .)
IS -- subprograms defined
BEGIN -- in alphabetical order
calc_rating(. . .);
. . .
END;
PROCEDURE calc_rating(. . .)
IS
BEGIN
. . .
END;
END forward_pack;
| Is This Answer Correct ? | 41 Yes | 3 No |
Post New Answer View All Answers
List the various types of value set.
How many schemas we have? how many you have used?
What is a value set? List its various types.
Are you familiar with internet architecture of oracle apps 11i?
What are the different components you should consider while defining a responsibility in oracle apps?
How to move the one file from one instance to another instance? And your scripts also?
List the types of flexfield?
tell me the scenarios of the independent in reports
How is choreography different from orchestration?
In which tables receopt application form Appliy to field Value will come. I know one table i.e, ra_customer_trx.trx_number. Could U please any one tell me other than this except(ra_customer_trx and ar_payment_schedules_all tables). plz mentioned tables_name.Column_name.
how can i print random rows in plsql table
Plz anybody send me Technical specification for AP Interface
What is oracle soa suite?
What are file in oracle.
If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?