why we go for package? what are the advantages of using
instead of seperate procuderes or functions
Answer Posted / aravinda
package is collection of logically related pl/sql types
,items, subprograms. packages have following advantages over
procedures and functions.
Modularity, easy to design applications, information hiding,
added functionality and best performance.
we can declare global variables in packages which are valid
across application.
without invalidating the package we can modify the package body.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Can pl sql procedure have a return statement?
Explain the difference between drop and truncate commands in sql?
What is the most important ddl statements in sql are?
What is scalar data type in pl sql?
What is sql architecture?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
How can we debug in PL/SQL?
How to run sql functions in pl/sql?
Explain dml and ddl?
how to convert character strings to numeric values? : Sql dba
what is the difference between truncate and drop statements? : Sql dba
Can a procedure in a package be overloaded?
Why do we use joins in sql?
Is there any restriction on the use of union in embedded sql?
how do you know the version of your mysql server? : Sql dba