Solved

Oracle Import Option

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

707 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