Solved

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

Posted on 2009-04-03
3
649 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
[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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to trim oracle sql sentence in unix 17 87
Updating a temp table inside a PL/SQL block 3 64
plsql job on oracle 18 108
Oracle Date add 9 31
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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

734 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