Q

How to disable Oracle constraints and triggers during an import in 10g

An Oracle user asks expert Brian Peasland if constraints and triggers can be disabled on an Oracle import in Oracle 10g and how to complete this task.

I am using Oracle 10g and importing a dump file to a new schema created in another machine.

Can I disable the constraints and triggers while importing? What are the commands to disable the constraints and triggers? How do I enable them after the import process?

You cannot disable the constraints and triggers on import. What you can do is to not import the constraints or not import the triggers. This can be accomplished with the CONSTRAINTS=N and TRIGGERS=N parameters for the import utility. If you use these parameters, you will manually have to add the constraints and triggers later.
This was first published in October 2008

Dig deeper on Oracle database administration

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close