Why do you create or replace procedures rather that drop and recreate.



Why do you create or replace procedures rather that drop and recreate...

Answer / Vandana Bhargaw

Creating or replacing a procedure instead of dropping and re-creating it is more efficient because it saves the time required to recompile dependencies. When using CREATE OR REPLACE, Oracle only needs to compile the differences between the existing and new procedure; if no changes were made, then the procedure remains unchanged.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

Please explain oracle data types with examples?

1 Answers  


What are cursor?where are they used?

2 Answers  


Difference between hot backup vs. Cold backup?

1 Answers  


What is oracle update statement with inner join ?

1 Answers  


1:-How to write to update command in a procedure in oracle which update two different table at a time 2:-How to write the select command in a procedure in oracle which give multiple records

1 Answers  


Explain the use of inctype option in exp command.

1 Answers  


A USER HAVING CREATE SESSION PREVILAGE CAN ALTER PASSWORD/CHANGE PASSWORD?

2 Answers  


What is a public synonym?

1 Answers  


what is the exact diiference between DBMS and RDBMS

4 Answers   Tesco,


What is the function of Optimizer ?

1 Answers  


How to use "startup" command to start default instance?

1 Answers  


what is primary key and foreign key when and where have to use

5 Answers  


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)