Start of change

-5001   TABLE table-name IS NOT VALID

Explanation

The table designator was specified as the operand of the built-in function RID, ROW CHANGE TIMESTAMP expression, or ROW CHANGE TOKEN expression. The table designator that you specified or the table name you entered is not valid for one of the following reasons:
  • The name is not defined to be a table designator in this SQL statement.
  • The table designator cannot be referenced where it is specified in the SQL statement.
  • An unexposed name is used as a table-designator. In this case, the statement does not conform to the guidelines for using only unique exposed names as qualifiers.
  • An alias or synonym cannot be used as a table designator.

System action

The statement cannot be processed.

Programmer response

Correct the syntax and resubmit the statement.

SQLSTATE

42703

End of change