Interview Questions   Tutorials   Discussions   Programs   

DB2 - How to resolve -803 sql code in DB2?

asked mar August 3, 2014 04:35 AM  

How to resolve -803 sql code in DB2?


1 Answers

answered By Mswami   0  
SQL - 803 error occurs on the violation of a UNIQUE constraint. This error is thrown when you try to insert a row with existing primary key i.e.Duplicate.

So,  If you want to insert the row either you should delete the already existing row and insert the new row or update the same row with the new values for other fields.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!