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


Please Help Members By Posting Answers For Below Questions

What do you mean by “trigger” in sql?

633


What is pessimistic concurrency control? : Transact sql

595


What is a stored procedure in sql with example?

613


How do you delete a table?

550


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

591






What is parallel hint?

762


What is a nested table in word?

542


What do you mean by stored procedures?

560


What is composite primary key in sql?

532


Can I join the same table twice?

535


What is difference between inner join and cross join?

530


What is data manipulation language?

708


How do I find duplicates in the same column?

555


What is the difference between function and procedure in pl/sql?

559


What do you understand by exception handling in pl/sql?

585