Solved

Oracle Import Option

Posted on 2007-11-29
3
2,546 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
  • 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 73

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

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

910 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

22 Experts available now in Live!

Get 1:1 Help Now