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

What is bind variable in pl sql?

0 Answers  


How do I tune a sql query?

0 Answers  


What is package in pl sql?

0 Answers  


if we give update table_name set column_name= default. what will happen? its given in pl sql block.what will hapen?

5 Answers   iFlex,


what is 'mysqladmin' in mysql? : Sql dba

0 Answers  






Explain what is a field in a database and record in a database?

0 Answers  


I m giving Source, Destination and Age. Write a procedure or function, it will give to u this source to destination tickets are available or not, if available then check this person is senior citizen or not,if this person is senior citizen then give some discount. PLZ give this answer...... Thanks advance.....

3 Answers  


What is the sql query to display the current date?

0 Answers  


what is transaction? : Sql dba

0 Answers  


define a variable representing the expression used to calculate on emps total annual remuneration.use the variable in a statement which finds all emps who can earn 30000 a year or more.

5 Answers  


Is it possible to use LONG columns in WHERE clause or ORDER BY?

3 Answers  


what happens if you no create privilege in a database? : Sql dba

0 Answers  


Categories