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 |
What is bind variable in pl sql?
How do I tune a sql query?
What is package in pl sql?
if we give update table_name set column_name= default. what will happen? its given in pl sql block.what will hapen?
what is 'mysqladmin' in mysql? : Sql dba
Explain what is a field in a database and record in a database?
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.....
What is the sql query to display the current date?
what is transaction? : Sql dba
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.
Is it possible to use LONG columns in WHERE clause or ORDER BY?
what happens if you no create privilege in a database? : Sql dba