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

In what condition is it good to disable a trigger?

560


What is pl sql quora?

651


Why do we use sqlite?

537


What is trigger in pl sql with examples?

525


How to add, remove, modify users using sql?

563






When is the update_statistics command used?

576


What is set serveroutput on?

649


What is a table?

569


What is procedure and function?

520


What is a file delimiter?

562


How many commands are there in sql?

553


What are the parts of a basic sql query?

518


What is sp_helptext?

594


What is a sql select statement?

574


Which are the different character-manipulation functions in sql?

550