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
How can we avoid duplicating records in a query?
What are variables in pl sql?
What is the best partition size for windows 10?
What are the set operators in sql?
Mention what plvcmt and plvrb does in pl/sql?
what is query cache in mysql? : Sql dba
What are string functions in sql?
What is the difference between jpql and sql?
Do foreign keys improve performance?
what is the difference between group by and order by in sql? : Sql dba
What is a schema sql?
Can primary key be changed?
Can we call procedure in select statement?
what is 'mysqladmin' in mysql? : Sql dba
Give the order of sql select?