-20005   THE INTERNAL ID LIMIT OF limit HAS BEEN EXCEEDED FOR OBJECT TYPE object-type

Explanation

An internal ID is used to uniquely identify objects of type object-type. The limit for internal IDs for this type of object is limit, and this limit has been exceeded.

This could occur during a CREATE FUNCTION, CREATE PROCEDURE, CREATE SEQUENCE, CREATE TYPE, or CREATE or ALTER TABLE statement that defines an identity column.

System action

The SQL statement cannot be executed.

Programmer response

Drop objects of object-type that are not being used, and retry the statement.

SQLSTATE

54035