why we go for package? what are the advantages of using
instead of seperate procuderes or functions
Answer Posted / ramakrishna
package is collection of logically related pl/sql types
,items, subprograms. packages have following advantages over
procedures and functions are
1.reduces number of acces to database.since, When you call
a packaged PL/SQL construct for the first time, the whole
package is loaded into memory. Thus, later calls to
constructs in the same package require no disk input/output
(I/O).
2.we can have overloading,public and private,encapsulation
features (like java) in package
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain mutating table error.
How to raise user-defined exception with custom sqlerrm ?
How do I start pl sql?
How do I truncate a word?
What is the trigger in sql?
How do you modify a column in sql?
what is blob? : Sql dba
What is the purpose of the primary key?
What operating systems are supported by oracle sql developer?
What is pl sql code?
How much does sql cost?
what are the advantages of mysql in comparison to oracle? : Sql dba
How many parts of a pl sql block are optional?
How many types of index are there?
What is compilation error in pl sql?