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
What are the different components of soa suite?
Is soa a part of oracle fusion middleware?
Tell me how to debug the report?
Which oracle apps version you are very confident in?
CAN YOU CUSTOMISE THE COUTOMISE CUS_TOP
What are file in oracle.
what is global tempory table?
tell my any difficult situtation you solved in your experience in your company?
What do you understand by concurrent programs?
What is the concept of soa governance?
Do you know where we can check the status of po?
Hi any one plz help me .i need 2 or 3 customized and 2 or 3 development reports on PO module..if any body having plz send me with one by one step ,i mean where u do the customization and wht are the steps u follwed when u do the customization,wht are fields u added or deleted ,How u added or these fields as per clinet requirement and wht are errors u faced .plz send it to my mail id iamvenki@gmail.com
How to move the one file from one instance to another instance? And your scripts also?
tell me the scenarios of the independent in reports
q)what are the validations in sql*loader