oracle bulk inset utility

5 pts.
Tags:
Oracle 10g
I am bulk inserting records from an array to a table i used save exception to record the exception during the bulk insertion. but this utility only gives the error code.then later i fethed error message from the eror code but this message is generic not specific.(not the exact exception message) .i want to know the exact message. for example if any foreign key violation occurs then i want the error message with the constraint name that has been violated. Is their any utility in oracle that can provide it . i am using oracle 10 g. Thanks in advance.....

Answer Wiki

Thanks. We'll let you know when a new response is added.

You might need to use the DML error logging feature (but I think it was introduced in 10gR2).

There is an article in Oracle Magazine (march/april 2009) that covers exception handling using the save exceptions feature and the DML error logging feature.

Have a look:

<a href=”http://www.oracle.com/technology/oramag/oracle/09-mar/o29plsql.html?_template=/ocom/print”>Continue PL/SQL execution beyond exceptions</a>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following