Ask the Expert

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

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?

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: