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 |
write the Sql query for creating database backup?
define sql insert statement ? : Sql dba
Can sql developer connect to db2?
What is dense_rank in sql?
What is rank function in sql?
What is offset in sql query?
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 ?
what is a trigger in mysql? Define different types of trigger. : Sql dba
How do you remove duplicate records from a table?
Explain the update statement in sql
how to get the third quarter of employee details from emp?
What is the use of nvl function?