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...


what are the advantages of package?

Answers were Sorted based on User's Feedback



what are the advantages of package? ..

Answer / useroracle

Advantages of package:
-----------------------
A. Modularity
- Encapsulate related constructs.

B. Easier Application Design
- Code and compile specification and body separately.

C. Hiding Information
- Only the declarations in the pacakge specification
are visible and accessible to application.
- Private constructs in the package body are hidden
and inaccesible.
- All coding is hidden in the package body.

D. Added Functionality
- Persistency of variables and coursors.

E. Better Performance
- The entire package is loaded into memory when the
package is first referenced.
- There is only one copy in memory for all users.
- The dependency hierarchy is simplified.

F. Overloading
- Multiple subprograms of the same name.

Is This Answer Correct ?    55 Yes 3 No

what are the advantages of package? ..

Answer / arup ratann banerjee

The advantage of package is :---
1) Encapsulation
2) Security
3) Performance gaining
4) Overloading and polymorphism

Is This Answer Correct ?    47 Yes 8 No

what are the advantages of package? ..

Answer / suresh somayajula

Advantages of packages :

1. easier application and design
2. Information hiding
3. moularity and maintainability.

Is This Answer Correct ?    20 Yes 4 No

what are the advantages of package? ..

Answer / roopesh kumar

The main purpose for using a packege is grouping the
related objects like proc., func. etc.

For ex. we can create one package for payroll of HRMS system
that can be used for storing related proc, func. & other DB
objects.

Is This Answer Correct ?    23 Yes 8 No

what are the advantages of package? ..

Answer / pranab kumar mishra

1.Saving the rext of the create package statement in two
different sql files facilitates latter modification to the
package.Each package is easily understood & interface
between package are simple,clear& well defined.

2.package promote code reuse through the use of library that
contain stored procedure & function.so redundent coding.

3.Hiding information.

Is This Answer Correct ?    17 Yes 4 No

what are the advantages of package? ..

Answer / madhavi

The main advantage of package is one time compilation
process.while the first time of compilation the source code
is converted into P-code and stored in the database so that
for n no of time calling the pckg it does not take any
memory locations...
*Then whatevere the database objects declared in the
package specification will be globally accessible.

Is This Answer Correct ?    18 Yes 5 No

what are the advantages of package? ..

Answer / priya

Package is a group of similar types of classes, interfaces and sub-packages. .
Packages is used to categorize the classes and interfaces.
Packages provides access protection. Package removes naming collision.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

SELECT emp_num, years, SUM(salary) FROM sales UNION ALL SELECT emp_id, SUM(takehomepay) FROM marketing What error is present in the sample code above? 1. Queries being combined with the UNION ALL statement are not allowed to have SELECT lists with a different number of expressions. 2. You are not allowed to use aggregate functions within two queries joined by a UNION ALL statement. 3. The UNION ALL statement incorrectly combines the "years" result from the first query with the "SUM (takehomepay)" result from the second query. 4. Unless the UNION ALL statement is replaced with a UNION statement, the queries will return duplicates. 5. The "emp_id" column from the second query must be renamed (or aliased) as "emp_num" so that it corresponds to the column name from the first query. Otherwise, the queries will not execute.

3 Answers  


What are the types of optimization?

0 Answers  


how would you get the current date in mysql? : Sql dba

0 Answers  


What trigger means?

0 Answers  


What is sql indexing?

0 Answers  


Write a procedure to return the month and the number of developers joined in each month (cursor )

2 Answers   Tech Mahindra,


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

0 Answers   Virtusa,


Is pl sql better than sql?

0 Answers  


Can we use SQL%ISOPEN in implicit cursors? Does this attribute works properly in Implicit Curosors?

3 Answers  


What is partition by in sql?

0 Answers  


What is rtm in testing?

0 Answers  


Is null operator in sql?

0 Answers  


Categories