Solved

Oracle Import Option

Posted on 2007-11-29
3
2,549 Views
Last Modified: 2013-12-18
How to ommit import of triggers and procedures from the Oracle import (dmp) file
0
Comment
Question by:tribuna33
[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
3 Comments
 
LVL 28

Accepted Solution

by:
Naveen Kumar earned 50 total points
ID: 20373138
for triggers you can say

triggers=N

along with the other import options.

Thanks
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 20373153
i am sorry you have to use that while exporting, so that your export dump file will not have triggers.

triggers=N -- is an option which should be given for export utility and not for import utility

While importing, since there will not be any triggers in the export dump file - we will not get them. I think we do not have an option in the import utility to restrict triggers.

Why not we just exclude the triggers and procedures which we do not want when exporting itself.

Thanks
0
 
LVL 74

Assisted Solution

by:sdstuber
sdstuber earned 50 total points
ID: 20378554
if re-exporting isn't possible, or feasible

you can set ignore=Y  then remove the create trigger and create procedure privileges from the user doing the import.

it'll try to import them, but it will fail, but with ignore=Y you can continue.  
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
ODBC in excel 2016 in Windows 10 via VBA 16 409
Oracle encryption 12 72
How do I search for a text string in my SQL code 18 50
Performance Issue in Oracle 3 45
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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 shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

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