IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is SQLCODE -806 Mean?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gen_advantage
Currently Banned

New User


Joined: 05 Jun 2005
Posts: 5

PostPosted: Wed Aug 17, 2005 9:12 pm
Reply with quote

WHAT IS SQLCODE -806 ?[/list]
Back to top
View user's profile Send private message
Karthikt

New User


Joined: 15 Aug 2005
Posts: 51

PostPosted: Thu Aug 18, 2005 3:09 pm
Reply with quote

-806 SQL status code corresponds to violation in referential integrity constraint. Suppose you are deleting a row in a table which has been enabled referential integrity constratint (e.g. a depended key is acting as primary key in another table), then you cant delete the row unless you delete the rows in other tables which has linked to the promary table by referential integrity.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts SQLCODE=-204 SQLSTATE=42704 DB2 4
No new posts Getting sqlcode 805 while executing R... DB2 10
Search our Forums:

Back to Top