Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PK Violation Error Code

445584Jul 25 2005 — edited Jul 26 2005
I'd like to know whether or not in the case of a PK violation (ie attempting to add a duplicate record to a table) Oracle sets the vendor-specific error code in the SQL exception and, if so, to what value. Unfortunately I don't have access to an Oracle DB right now so I can't test this myself.

Could someone help me with this or at least point me to the relevant documentation?

Many thanks,

Phil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2005
Added on Jul 25 2005
5 comments
1,693 views