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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is myisam? : Sql dba

999


Is sql better than access?

961


Explain the structure of pl/sql in brief.

1040


What are its different types of dbms?

955


Why do we use triggers?

913


What is a system versioned table?

927


What is java sql driver?

1036


How to select unique records from a table?

998


Explain the significance of the & and && operators in pl sql.

949


How can triggers be used for the table auditing?

1008


what is auto increment? : Sql dba

960


How many joins can you have in sql?

880


What is a natural join?

988


What is mutating error?

906


How can a pl sql block be executed?

888