Q
Problem solve Get help with specific problems with your technologies, process and projects.

Exporting from command line

How can I export from the command line all triggers, procedures, functions, etc. from an Oracle database?

I'm new in the Oracle environment and I have a question. How can I export from the command line all triggers, procedures, functions, etc. from an Oracle database? Thanks for your help.
It depends on what you wish to do with them; if it is simply to move from one Oracle database to another, then the export command using the rows=n and indexes=n options would probably get you close. There are also tools available to mine the export file for the code.

One thing to be aware of: the Oracle-provided packages and procedures are usually "wrapped," which means encrypted.

For just the SQL to build the objects, look at the package dbms_metadata.

Dig Deeper on Oracle and SQL

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close