what are the advantages of package?

Answer Posted / useroracle

Advantages of package:
-----------------------
A. Modularity
- Encapsulate related constructs.

B. Easier Application Design
- Code and compile specification and body separately.

C. Hiding Information
- Only the declarations in the pacakge specification
are visible and accessible to application.
- Private constructs in the package body are hidden
and inaccesible.
- All coding is hidden in the package body.

D. Added Functionality
- Persistency of variables and coursors.

E. Better Performance
- The entire package is loaded into memory when the
package is first referenced.
- There is only one copy in memory for all users.
- The dependency hierarchy is simplified.

F. Overloading
- Multiple subprograms of the same name.

Is This Answer Correct ?    55 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is foreign key in sql with example?

515


What are %type and %rowtype for?

619


what is a composite key ? : Sql dba

605


How do I edit a trigger in sql developer?

542


how would concatenate strings in mysql? : Sql dba

572






How do you optimize a query?

538


Is join and inner join the same?

543


When are we going to use truncate and delete?

555


What is the sql*loader? : aql loader

589


What is nosql db?

546


Difference between truncate, delete and drop commands?

559


what is foreign key? : Sql dba

589


What are string functions in sql?

678


What is the difference between left and left outer join?

518


Is drop table faster than truncate?

551