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

How to define a procedure inside another procedure?

1 Answers  


What are the sql clauses supported in the link property sheet ?

1 Answers   Oracle,


What is OCI. What are its uses?

1 Answers  


Display the records between two range?

2 Answers  


what is mean by prmary key and foreign key and how can we diffrentiate that? Please answer me. Advance thanks.

9 Answers   BPO, Excel, Wipro,


Explain cascading triggers.

1 Answers  


How to update rows in table, suppose i have lacks of rows in table how to update total table with update statement. Can u please any one answer this question with update statement.

2 Answers  


Where do we use decode and case statements?

1 Answers  


What is the purpose of tables, private synonyms and public synonyms in Oracle?

1 Answers   HCL,


Explain index?

1 Answers  


In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?

1 Answers  


hi friends, I have a table A col as status|NUM and value as open |1 open |2 close |3 close |3 the O/P should be open|close 1 |3 2 |4

1 Answers   CTS,


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • 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)