what is meant by forward declaration in functions?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / raghavendra
declaration first defination later is nothing but a forward
declaration
Is This Answer Correct ? | 2 Yes | 6 No |
- 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?
How to get unique records from a table?
What is mutating table error?
Why does %isopen return false for an implicit cursor?
what is inline view?
What is the difference between syntax error and runtime error?
What pl/sql package consists of?
How do I view a procedure in sql?
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
What is sql table?
What is a cursor ? Why Cursor is required ?
What is rename command in sql?