SQL - Error -17004 on Delete using rowid as search criteria on tables with foreign keys
Error -17004 (c-tree KDEL_ERR error) was seen while executing a delete statement that made explicit use of rowid. The logic has been changed to correctly handle this situation.