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
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 |
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 |
what is difference between table and view? where to use views? thanks in advance!
Explain the relationship among Database, Tablespace and Data file?
How to start a specific oracle instance?
Explain an integrity constrains?
SELECT THE RECORDS FROM 3 TABLES LIKE(T1,T2,T3) AND HOW CAN WE INSERT THAT RECORD IN ANOTHER TABLE LIKE(T4)?
How to loop through data rows in the implicit cursor?
How to use "if" statements on multiple conditions?
Explain database link?
Give syntax for SQL and ORACLE joins.
DBMS vs. RDBMS
What is oracle rownum?
difference between truncate and delete ,drop?