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 is scalar function in sql?

706


What is online transaction processing (oltp)?

749


Why we use join in sql?

702


What is the difference between execution of triggers and stored procedures?

750


what is clause? : Sql dba

763






What is the difference between local variables and global variables?

800


What is t-sql? : Transact sql

712


what tools available for managing mysql server? : Sql dba

745


What are all the common sql functions?

751


Are views faster than queries?

727


Why select is used in sql?

694


What is a unique key and primary key and foreign key?

742


What is rank () in sql?

700


Why coalesce is used in sql?

663


What are records give examples?

743