Solved

importing dump file into schema/user without including triggers, sequences

Posted on 2009-04-03
3
640 Views
Last Modified: 2013-12-18
Hi,

I am using following import command

imp user_name_xyz/password full=y file=abc_data_dump_file.dmp ignore=y

to load the dump file data, structure etc everything into the  user/schema 'user_name_xyz'.
Is there is a way, option to exclude triggers, sequences  through import command, while importing the dump file into the schema. Any sample code, ideas, resources, links highly appreciated. Thanks in advance.
0
Comment
Question by:gudii9
3 Comments
 
LVL 15

Accepted Solution

by:
fsze88 earned 300 total points
ID: 24066664
try to create a file named imp_exclude.par or imp_include.par and content is as
imp_exclude.par
EXCLUDE=FUNCTION
EXCLUDE=PROCEDURE
EXCLUDE=PACKAGE

imp_include.par
INCLUDE=FUNCTION
INCLUDE=PROCEDURE
INCLUDE=PACKAGE
........
and run

impdp user_name_xyz/password DUMPFILE=abc_data_dump_file.dmp PARFILE=imp_include.par

http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007865
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007761
0
 
LVL 7

Assisted Solution

by:Fayyaz
Fayyaz earned 200 total points
ID: 24072222
use datapump expdp/impdp instead of traditional exp/imp utilities as mentioned above
0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31566522
Thank you
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

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
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.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

821 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