i have procedure p1.and also i declare the same procedure in a package. whice one is efficient package procedure or procedure?

Answers were Sorted based on User's Feedback



i have procedure p1.and also i declare the same procedure in a package. whice one is efficient packa..

Answer / kiran

Package is compiled once in the database and hence accessing
an object from a Package.procedure is more efficient than
Stored procedure as the object is Pinned to the DB unlike
the normal Stored procedure, again the core crux of the
project will make the choice.

Is This Answer Correct ?    2 Yes 2 No

i have procedure p1.and also i declare the same procedure in a package. whice one is efficient packa..

Answer / suresh babu

The procedure,which we defined with in package,will be very
powerful,once we call the package it will load all
procedures and functions dynamically.so we can access more
number of procedures with out calling again and again.

But we can't call multiple procedures in single time.If we
want to access multiple procedures,which we didn't defined
with in package,isn't possible.we can call those procedures
one by one.

So the procedure,which we defined with in package, is very
powerful than the procedure,which we didn't defined with in
package.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Oracle General Interview Questions

which is best institue to learn oracle 11i in ameerpet or maithrivanam or sr nagar please help

5 Answers  


What privilege is needed for a user to connect to oracle server?

0 Answers  


Why do you use stored procedures and state some of its disadvantages?

0 Answers  


what is view?

7 Answers   Accenture,


What are the differences between number and binary_float in oracle?

0 Answers  






WHT ARE THE AGGREATE FUNCTIONS?

7 Answers   GEITC, TCS,


What is the scope of a local variable?

0 Answers  


What is program global area (pga) in oracle?

0 Answers  


How to rollback the current transaction in oracle?

0 Answers  


How do we know whether an index is created on a table ???

2 Answers   TCS,


Oracle

0 Answers   ABC, Genpact, HUI, Oracle,


can we insert any row to dual table if i got the permission from DBA

5 Answers   HCL, Tesco,


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)