what is mean by forward declaration and where we'll use it.

Answer Posted / 6/8/07

Forward declaration is used in declaring subprograms that
can be used in packages.

eg: procedure query_emp(empno number,empname varchar);
--procedure is declared.
we should define the procedure next..

the basic idea is :declaration first and definition later.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cursor and why it is required?

551


How do you copy a table in sql?

561


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

1556


Is subquery faster than join?

568


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

550






What is difference between sql and oracle?

560


What is a constraint? Tell me about its various levels.

634


How do you declare a user-defined exception?

528


what is unique key constraint? : Sql dba

564


What are the disadvantages of not performing database normalization?

594


What is the difference between pl and sql?

541


How does one load ebcdic data? : aql loader

643


What is the difference between rename and alias?

706


how many groups of data types? : Sql dba

565


Is drop table faster than truncate?

547