Start of change

-156   THE STATEMENT DOES NOT IDENTIFY A TABLE

Explanation

A statement that applies only to tables was issued, but no table was identified. The following statements apply only to tables:

  • ALTER TABLE
  • CREATE INDEX
  • CREATE MASK
  • CREATE PERMISSION
  • CREATE TRIGGER
  • DROP TABLE
  • LOCK TABLE

Indexes and triggers can be defined only on tables.

Additionally, a DROP TABLE statement cannot be used to drop a clone table.

System action

The statement cannot be processed.

Programmer response

Correct the syntax, and reissue the statement.

SQLSTATE

42809

End of change