Solved

Copy of a workflow package.pkb and .pkh from production database

Posted on 2013-06-14
4
349 Views
Last Modified: 2013-06-17
I need to make a copy of a particular workflow_pkg.pkb and workflow_pkg.pkh from my production database. How do I do this? Please help.
0
Comment
Question by:k3vsmith
  • 2
4 Comments
 

Author Comment

by:k3vsmith
ID: 39248756
Im using Toad and have privileges...
0
 
LVL 20

Assisted Solution

by:flow01
flow01 earned 200 total points
ID: 39249782
search for the  dbms_metadata package  to get  package definitions

and probably you can also view the source in toad , copy / paste into a text file ,
may be add a "create or replace"  statement and use the text file to create the package in another database
0
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 300 total points
ID: 39251599
In TOAD:

1) Select the owner schema from top-left drop down.
2) Select the package from the list (or drop down).
3) Click on "Script"
4) Right-click on the code or click on the "copy to clipboard (or editor window)
6) Paste (or copy + paste) into your text editor.
:p
Or...as was posted: From SQL*Plus session use the DBMS_METADATA package to get the DDL for that package.
0
 

Author Comment

by:k3vsmith
ID: 39253186
Perfect thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What is the version of ojdbc6.jar 2 37
Oracle - Create Procedure with Paramater 16 56
Converting a row into a column 2 43
Queries 15 34
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now