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
  • The 3 daily Scrum questions

    The 2020 Scrum Guide removed all references to the three daily Scrum questions, but does that mean you shouldn't ask them anymore?

  • Why WebAssembly? Top 11 Wasm benefits

    Latency and lag time plague web applications that run JavaScript in the browser. Here are 11 reasons why WebAssembly has the ...

  • Why Java in 2023?

    Has there ever been a better time to be a Java programmer? From new Spring releases to active JUGs, the Java platform is ...

Data Center
Content Management
HRSoftware
Close