Question & Answer
Question
When updating a row or table, SQLCODE100 occurs when unintended characters are in the DB2 column.
Answer
For DB2 Table Editor, the following error can occur while running the SQL statement to update a row or table:
"No row was found for fetch, update or delete; or the result of the query is an empty table" SQLCode= +100, sqlstate 02000".
To resolve this SQLCODE100 issue, ensure that unintended characters are not in the DB2 column being used in the SQL predicate (the 'WHERE' clause in the SQL).
Unintended characters can be caused if you populate the DB2 table with data from an Excel database by cutting and pasting from Excel to the DB2 table. When a cut and paste is performed, control characters can be picked up and transferred to the DB2 table, resulting in unintended characters; for example, a hollow square.
After you delete the unwanted characters, the SQL statement to update a row or table can be performed.
Was this topic helpful?
Document Information
Modified date:
11 February 2021
UID
swg21144332