logo  
Google
 

DB2 SQL-Error: -20142

SQLState: 428FB

Short Description: SEQUENCE CANNOT BE USED AS SPECIFIED

sequence-name was referenced in a context in which it cannot be used. It was an invalid reference to a system-generated sequence object. sequence-name is a sequence that was generated by the system for an identity column. These sequences cannot be referenced in: v An ALTER SEQUENCE statement v A DROP SEQUENCE, COMMENT ON SEQUENCE, GRANT, or REVOKE statement v A NEXT VALUE or PREVIOUS VALUE expressionSystem action: The statement cannot be executed. Programmer response: Specify the name of a user-defined sequence object in this context.

 <-  BACK TO INDEX