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

- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

0 Answers   CTS,


How to get unique records from a table?

0 Answers  


What is mutating table error?

0 Answers  


Why does %isopen return false for an implicit cursor?

1 Answers  


what is inline view?

15 Answers  






What is the difference between syntax error and runtime error?

0 Answers  


What pl/sql package consists of?

0 Answers  


How do I view a procedure in sql?

0 Answers  


wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010 feb-2009 i want the output date 22-may-2010 26-jun-2010

6 Answers   Accenture,


What is sql table?

0 Answers  


What is a cursor ? Why Cursor is required ?

3 Answers  


What is rename command in sql?

0 Answers  


Categories