How do I take a backup of Stored Procedure in Oracle?

Answers were Sorted based on User's Feedback



How do I take a backup of Stored Procedure in Oracle?..

Answer / roopa

SELECT
DBMS_METADATA.GET_DDL
('PROCEDURE','<PROCEDURE_NAME>','<SCHEMA_OWNER>')
FROM dual;

Is This Answer Correct ?    15 Yes 0 No

How do I take a backup of Stored Procedure in Oracle?..

Answer / awa

SELECT
DBMS_METADATA.GET_DDL('PROCEDURE',a.object_name,a.owner)
FROM = dba_objects a WHERE OWNER =3D'SCHEMA_OWNER' AND
object_TYPE =3D'PROCEDURE' ORDER BY owner

Is This Answer Correct ?    6 Yes 1 No

How do I take a backup of Stored Procedure in Oracle?..

Answer / syed

Go to oracle bin directory and run the export file
it will ask you in the question format

just say 'yes' or 'y' for data with procedure and funcion.

it will include all the procedure and function view and
table.

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More Database Management Interview Questions

What are the various normalizations in database?

0 Answers   NIIT,


Which factors does not affect the size of the SGA ?

3 Answers   TCS,


Compare a hierarchical and network database model?

0 Answers  


What is building blocks of client/server?

0 Answers  


What will the SHOW_ALERT function returns ?

3 Answers   College School Exams Tests, DSS,






What are the three main types of models?

0 Answers  


What is the role of database server in database management system?

0 Answers  


Explain the terms database and dbms. Also, mention the different types of dbms.

0 Answers  


does pl/sql support “overloading”? Explain

0 Answers  


What are the package used in DBMS ?

0 Answers  


What does partition mean in database?

0 Answers  


What is the use of CONSTRAINTS option in EXP command ?

1 Answers  


Categories