Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to resolve -803 sql code in DB2?

Answers were Sorted based on User's Feedback



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

Answer / lakshmi

This error is thrown when you try to insert a row with
existing primary key i.e.Duplicate. 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

Is This Answer Correct ?    22 Yes 8 No

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

Answer / venkata sastry

The SQL - 803 error occurs on the violation of a UNIQUE
constraint. Update the record if it already exists rather
inserting new one.

Is This Answer Correct ?    15 Yes 6 No

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

Answer / lu

Before to insert, it's better to select(retrieve),test
sqlcode when 100 insert when 00 update whenever send
message and abend...You don't have an heache....

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More DB2 Interview Questions

How do you find the maximum value in a column in db2?

0 Answers  


What is cobol db2?

0 Answers  


What is a bind in db2?

0 Answers  


What are some SQL aggregates and other built-in functions?

2 Answers  


What is role in db2?

0 Answers  


What is db2 look?

0 Answers  


How do you run JCL in cobol program

1 Answers   IBM, Syntel,


What is the difference between a package and a plan?

6 Answers   Infosys, L&T, Mphasis,


wht is d/f between union and joins ?

2 Answers  


Why select is not preferred in embedded sql programs?

0 Answers  


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

0 Answers  


What is a clustered index?

1 Answers  


Categories