Solved

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

Posted on 2013-06-14
4
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
migration MS SQL database to Oracle 30 81
make null the repeated levels 2 48
Sybase and replication server 13 80
how to solve "recursive" database tables 2 55
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
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.

732 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