what is meant by forward declaration in functions?

Answers were Sorted based on User's Feedback



what is meant by forward declaration in functions?..

Answer / priyanka samal

Forward declaration means:first you declare the function
what function u want to use in package.atlast doing all the
details of procedure whatever u taken in package
specification.then u define all the details or body part of
function.

2:if u not define function first,there is aerror u have
faced.when u passed this function in procedure
defination,there is a error u faced in compilation.The
procedure can't recognized that function.

Is This Answer Correct ?    8 Yes 0 No

what is meant by forward declaration in functions?..

Answer / swapna

Forward Declaration means.. If you are defining a package
body having two procedures , If u want to use second
procedure in the defination of first procedure.

You have to declare the second package with its arguments
(if have) before using in the defination of first
procedure.its labled as forward declaration.

Is This Answer Correct ?    6 Yes 2 No

what is meant by forward declaration in functions?..

Answer / papia

You must declare the identifier before referencing them.
It consists of the subprogram specification teminated by a
semicolon.

Is This Answer Correct ?    0 Yes 0 No

what is meant by forward declaration in functions?..

Answer / raghavendra

declaration first defination later is nothing but a forward
declaration

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More SQL PLSQL Interview Questions

write the Sql query for creating database backup?

7 Answers   TCS,


define sql insert statement ? : Sql dba

0 Answers  


Can sql developer connect to db2?

0 Answers  


What is dense_rank in sql?

0 Answers  


What is rank function in sql?

0 Answers  






What is offset in sql query?

0 Answers  


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

0 Answers  


what is a trigger in mysql? Define different types of trigger. : Sql dba

0 Answers  


How do you remove duplicate records from a table?

0 Answers  


Explain the update statement in sql

0 Answers  


how to get the third quarter of employee details from emp?

2 Answers   CompuTech,


What is the use of nvl function?

0 Answers  


Categories