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.

Dig Deeper on Oracle database administration

Data Management
Business Analytics
SearchSAP
TheServerSide.com
Data Center
Content Management
HRSoftware
Close