Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why we go for package? what are the advantages of using
instead of seperate procuderes or functions

Answers were Sorted based on User's Feedback



why we go for package? what are the advantages of using instead of seperate procuderes or function..

Answer / 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

why we go for package? what are the advantages of using instead of seperate procuderes or function..

Answer / dhiraj

Packages are bunch of procedures and functions instead of
granting one by one procedure and function DBA can grant
packge to user.

Is This Answer Correct ?    7 Yes 5 No

why we go for package? what are the advantages of using instead of seperate procuderes or function..

Answer / 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

More SQL PLSQL Interview Questions

what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

0 Answers  


What is procedure explain with example?

0 Answers  


what is an extent ? : Sql dba

0 Answers  


can i use global variables in stored procedure or function

1 Answers   L&T,


Do you know the basic structure of PL/SQL?

3 Answers  


Is sql database free?

0 Answers  


How can you fetch first 5 characters of the string?

0 Answers  


Explain the usage of WHERE CURRENT OF clause in cursors ?

4 Answers   Satyam,


Why we use pl sql?

0 Answers  


What are sql ddl commands?

0 Answers  


What does where 1 1 mean in sql?

0 Answers  


Is a table valued function object?

0 Answers  


Categories