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 multiple columns?
In table three columns with 1 milion records(here there is no sequence values) i want add one more column with sequence values from the first how it is posible?
what is definer rights invoke rights?
Is delete faster than truncate?
Explain the purpose of %type and %rowtype data types?
In a distributed database system, can we execute two queries simultaneously?
How can you save or place your msg in a table?
what is a database? : Sql dba
Is postgresql a server?
What is not in sql?
Can a view be updated/inserted/deleted?If Yes under what conditions?
Why do we use function in pl sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)