What are the advantages & disadvantages of packages ?

Showing Answers 1 - 24 of 24 Answers

Thulasidas

  • Nov 27th, 2006
 

Advantages

------------

Modular approach, Encapsulation/hiding of business logic, security, performance improvement, reusability

Disadvantages

-------------

Cant think of any

Manikandan

  • Dec 6th, 2006
 

using we can declare session level(scoped) variables.

since variable declared in pack spec has session scope.

deepserp

  • Dec 9th, 2006
 

Disadvantages of Package - More memory may be required on the Oracle database server when using Oracle PL/SQL packages as the whole package is loaded into memory as soon as any object in the package is accessed.

MZ

  • Mar 6th, 2007
 

Disadvantages: Updating one of the functions/procedures will invalid other objects which use different functions/procedures since whole package is needed to be compiled.

Package: It is an collection of related variables, cursors,procedures and functions stored at one location. They supports OOPS features like function over loading, encapsulation.
ADV:
       We can reduce the I/O operations.
       Multiple interaction with database.
       They improve performance while accessing sub-programs from remote client.


They are stored permanentely in USER_SOURCE system table.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions