IIS-CONN-DB2-00689E Error code reported: SQLSTATE = SQL state: Native Error Code = Native error code: Msg = Error message


The Db2 API Error code reported an error. The SQLSTATE is SQL state. The Native Error Code is Native error code. The message returned is Error message.

Typically this error occurs when the SQL statement that was executed by the Db2 API tries to assign a NULL value to a NOT NULL column.

User response

Review the error code to determine why the error occurred. Correct the SQL statement or conditions under which the Db2 NULL assignment occurred.