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

Define sql delete statement.

751


what's the difference between a primary key and a unique key? : Sql dba

711


Why schema is used in sql?

730


What packages(if any) has oracle provided for use by developers?

5328


how to escape special characters in sql statements? : Sql dba

721


what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba

731


What is the difference between an inner join and an outer join?

732


Which join is like inner join?

769


Why use subqueries instead of joins?

800


what are the types of subquery? : Sql dba

773


Explain the difference between drop and truncate commands in sql?

745


What is materialized view in sql?

655


Which join is like an inner join?

730


Which is faster joins or subqueries?

725


What is sql lookup?

692