I am trying to remove an object CATEGORY
. All keys in this particular object are <null>
. Nor is the ID of this object part of any foreign key in another object. Still I'm getting a violation. I have no idea what 'CCNTCTGSLCTDCTGRSD'
might be.
I have no idea how I can investigate this any further, I have selected the object (SELECT * FROM CATEGORY WHERE ID = 1
) and I have run a query on any other objects with possible foreign keys (SELECT * FROM xxx WHERE CATEGORY_ID = 1
).
Error code -1, SQL state 23503: DELETE on table 'CATEGORY' caused a violation of foreign key constraint 'CCNTCTGSLCTDCTGRSD' for key (1). The statement has been rolled back.
This message is all I get. Any suggestions?