42501 |
The authorization ID does not have the privilege to perform the specified
operation on the identified object. |
42502 |
The authorization ID does not have the privilege to perform the operation as
specified. |
42503 |
The specified authorization ID or one of the authorization IDs of the
application process is not allowed. |
42504 |
A specified privilege, security label, or exemption cannot be revoked from a
specified authorization-name. |
42505 |
Connection authorization failure occurred. |
42506 |
Owner authorization failure occurred. |
42509 |
SQL statement is not authorized, because of the DYNAMICRULES option. |
42510 |
The authorization ID does not have the privilege to create functions or
procedures in the WLM environment. |
42512 |
The authorization ID does not have security to the protected column. |
42513 |
The authorization ID does not have the MLS WRITE-DOWN privilege. |
42517 |
The specified authorization ID is not allowed to use the trusted
context. |
42601 |
A character, token, or clause is invalid or missing. |
42602 |
A character that is invalid in a name has been detected. |
42603 |
An unterminated string constant has been detected. |
42604 |
An invalid numeric or string constant has been detected. |
42605 |
The number of arguments specified for a scalar function is invalid. |
42606 |
An invalid hexadecimal constant has been detected. |
42607 |
An operand of an aggregate function or CONCAT operator is invalid. |
42608 |
The use of NULL or DEFAULT in VALUES or an assignment statement is
invalid. |
42609 |
All operands of an operator or predicate are parameter markers. |
42610 |
A parameter marker or the null value is not allowed. |
42611 |
The column, argument, parameter, or global variable definition is
invalid. |
42612 |
The statement string is an SQL statement that is not acceptable in the context
in which it is presented. |
42613 |
Clauses are mutually exclusive. |
42614 |
A duplicate keyword or clause is invalid. |
42615 |
An invalid alternative was detected. |
42617 |
The statement string is blank or empty. |
42618 |
A variable is not allowed. |
42620 |
Read-only SCROLL was specified with the UPDATE clause. |
42621 |
The check constraint or generated column expression is invalid. |
42622 |
A name or label is too long. |
42623 |
A DEFAULT clause cannot be specified. |
42625 |
A CASE expression is invalid. |
42626 |
A column specification is not allowed for a CREATE INDEX that is built on an
auxiliary table. |
42629 |
Parameter names must be specified for SQL routines. |
42630 |
An SQLSTATE or SQLCODE variable is not valid in this context. |
42631 |
An expression must be specified on a RETURN statement in an SQL
function. |
42633 |
An AS clause is required for an argument of XMLATTRIBUTES or XMLFOREST. |
42634 |
The XML name is not valid. |
42701 |
The same target is specified more than once for assignment in the same SQL
statement. |
42702 |
A column reference is ambiguous, because of duplicate names. |
42703 |
An undefined column or parameter name was detected. |
42704 |
An undefined object or constraint name was detected. |
42705 |
An undefined server-name was detected. |
42707 |
A column name in ORDER BY does not identify a column of the result
table. |
42708 |
The locale specified in a SET LOCALE or locale sensitive function was not
found. |
42709 |
A duplicate column name was specified in a key column list. |
42710 |
A duplicate object or constraint name was detected. |
42711 |
A duplicate column name was detected in the object definition or ALTER TABLE
statement. |
42712 |
A duplicate table designator was detected in the FROM clause or REFERENCING
clause of a CREATE TRIGGER statement. |
42713 |
A duplicate object was detected in a list or is the same as an existing
object. |
42714 |
A host variable can be defined only once. |
42718 |
The local server name is not defined. |
42721 |
The special register name is unknown at the server. |
42723 |
A routine with the same signature already exists in the schema, module,
or compound block where it is defined. |
42724 |
Unable to access an external program used for a user-defined function or a
procedure. |
42725 |
A routine was referenced directly (not by either signature or by specific
instance name), but there is more than one specific instance of that routine. |
42726 |
Duplicate names for common table expressions were detected. |
42732 |
A duplicate schema name in a special register was detected. |
42734 |
A duplicate parameter-name, SQL variable name, label, or condition-name was
detected. |
42736 |
The label specified on the GOTO, ITERATE, or LEAVE statement is not found or not
valid. |
42737 |
The condition specified is not defined. |
42749 |
An XML schema document with the same target namespace and schema location
already exists for the XML schema. |
4274A |
An XSROBJECT is not found in the XML schema repository. |
4274B |
A unique XSROBJECT could not be found in the XML schema repository. |
4274C |
The specified attribute was not found in the trusted context. |
4274D |
The specified attribute already exists in the trusted context. |
4274E |
The specified attribute is not supported in the trusted context. |
4274M |
An
undefined period name was detected. |
42801 |
Isolation level UR is invalid, because the result table is not
read-only. |
42802 |
The number of target values is not the same as the number of source
values. |
42803 |
A column reference in the SELECT or HAVING clause is invalid, because it is not
a grouping column; or a column reference in the GROUP BY clause is invalid. |
42804 |
The result expressions in a CASE expression are not compatible. |
42805 |
An integer in the ORDER BY clause does not identify a column of the result
table. |
42806 |
A value cannot be assigned to a variable, because the data types are not
compatible. |
42807 |
The data-change statement is not permitted on this object. |
42808 |
A column identified in the INSERT or UPDATE operation is not updatable. |
42809 |
The identified object is not the type of object to which the statement
applies. |
42810 |
A base table is not identified in a FOREIGN KEY clause. |
42811 |
The number of columns specified is not the same as the number of columns in the
SELECT clause. |
42813 |
WITH CHECK OPTION cannot be used for the specified view. |
42814 |
The column cannot be dropped because it is the only column in the table. |
42815 |
The data type, length, scale, value, or CCSID is invalid. |
42816 |
A datetime value or duration in an expression is invalid. |
42817 |
The column cannot be dropped because a view or constraint is dependent on the
column, the column is part of a partitioning key, or the column is a security label column. |
42818 |
The operands of an operator or function are not compatible or
comparable. |
42819 |
An operand of an arithmetic operation or an operand of a function that requires
a number is invalid. |
42820 |
A numeric constant is too long, or it has a value that is not within the range
of its data type. |
42821 |
A data type for an assignment to a column or variable is not compatible with the
data type. |
42822 |
An expression in the ORDER BY clause or GROUP BY clause is not valid. |
42823 |
Multiple columns are returned from a subquery that only allows one
column. |
42824 |
An operand of LIKE is not a string, or the first operand is not a
column. |
42825 |
The rows of UNION, INTERSECT, EXCEPT, or VALUES do not have compatible
columns. |
42826 |
The rows of UNION, INTERSECT, EXCEPT, or VALUES do not have the same number of
columns. |
42827 |
The table identified in the UPDATE or DELETE is not the same table designated by
the cursor. |
42828 |
The table designated by the cursor of the UPDATE or DELETE statement cannot be
modified, or the cursor is read-only. |
42829 |
FOR UPDATE OF is invalid, because the result table designated by the cursor
cannot be modified. |
42830 |
The foreign key does not conform to the description of the parent key. |
42831 |
Null values are not allowed in a column of a primary key, a column of a
unique key, a ROWID column, a row change timestamp column, a row-begin column, a row-end column, or
a column of an application period. |
42832 |
The operation is not allowed on system objects. |
42834 |
SET NULL cannot be specified, because no column of the foreign key can be
assigned the null value. |
42835 |
Cyclic references cannot be specified between named derived tables. |
42836 |
The specification of a recursive, named derived table is invalid. |
42837 |
The column cannot be altered, because its attributes are not compatible with the
current column attributes. |
42842 |
A column or parameter definition is invalid, because a specified option is
inconsistent with the column description. |
42845 |
An invalid use of a NOT DETERMINISTIC or EXTERNAL ACTION function was
detected. |
42846 |
Cast from source type to target type is not supported. |
42849 |
The specified option is not supported for the routine type. |
42852 |
The privileges specified in GRANT or REVOKE are invalid or inconsistent. (For
example, GRANT ALTER on a view.) |
42855 |
The assignment of the LOB or XML to this variable is not allowed. The target
variable for all fetches of a LOB or XML value for this cursor must be the same for all
FETCHes. |
42856 |
The alter of a CCSID to the specified CCSID is not valid. |
42866 |
The data type in either the RETURNS clause or the CAST FROM clause in the CREATE
FUNCTION statement is not appropriate for the data type returned from the sourced function or RETURN
statement in the function body. |
42872 |
FETCH statement clauses are incompatible with the cursor definition. |
42873 |
An invalid number of rows was specified in a multiple-row FETCH or multiple-row
INSERT. |
42877 |
The column name cannot be qualified. |
42878 |
An invalid function or procedure name was used with the EXTERNAL
keyword. |
42879 |
The data type of one or more input parameters in the CREATE FUNCTION statement
is not appropriate for the corresponding data type in the source function. |
42880 |
The CAST TO and CAST FROM data types are incompatible, or would always result in
truncation of a fixed string. |
42882 |
The specific instance name qualifier is not equal to the function name
qualifier. |
42883 |
No routine was found with a matching signature. |
42884 |
No routine was found with the specified name and compatible arguments. |
42885 |
The number of input parameters specified on a CREATE FUNCTION statement does not
match the number provided by the function named in the SOURCE clause. |
42886 |
The IN, OUT, or INOUT parameter attributes do not match. |
42887 |
The function or table-reference is not valid in the context where it
occurs. |
42888 |
The table does not have a primary key. |
42889 |
The table already has a primary key. |
42890 |
A column list was specified in the references clause, but the identified parent
table does not have a unique constraint with the specified column names. |
42891 |
A duplicate constraint already exists. |
42893 |
The object or constraint cannot be dropped, altered, or transferred or
authorities cannot be revoked from the object, because other objects are dependent on it. |
42894 |
The value of a column or sequence attribute is invalid. |
42895 |
For static SQL, an input variable cannot be used, because its data type is not
compatible with the parameter of a procedure or user-defined function. |
42898 |
An invalid correlated reference or transition table was detected in a
trigger. |
42899 |
Correlated references and column names are not allowed for triggered actions
with the FOR EACH STATEMENT clause. |
428A1 |
Unable to access a file referenced by a file reference variable. |
428B0 |
Nesting not valid in ROLLUP, CUBE, or GROUPING SETs. |
428B3 |
An invalid SQLSTATE was specified. |
428B4 |
The part clause of a LOCK TABLE statement is not valid. |
428B7 |
A number specified in an SQL statement is out of the valid range. |
428C1 |
The data type or attribute of a column can only be specified once for a
table. |
428C2 |
Examination of the function body indicates that the given clause should have
been specified on the CREATE FUNCTION statement. |
428C4 |
The number of elements on each side of the predicate operator is not the
same. |
428C7 |
A ROWID or reference column specification is not valid or used in an invalid
context. |
428C9 |
A column defined as GENERATED ALWAYS cannot be specified as the target column of
an insert or update operation. |
428D2 |
AS LOCATOR cannot be specified for a non-LOB parameter. |
428D3 |
GENERATED is not allowed for the specified data type or attribute of a
column. |
428D4 |
A cursor specified in a FOR statement cannot be referenced in an OPEN, CLOSE, or
FETCH statement. |
428D5 |
The ending label does not match the beginning label. |
428D6 |
UNDO is not allowed for NOT ATOMIC compound statements. |
428D7 |
The condition value is not allowed. |
428D8 |
The sqlcode or sqlstate variable declaration is not valid. |
428EC |
The fullselect specified for the materialized query table is not valid. |
428EK |
The schema qualifier is not valid. |
428EW |
The table cannot be converted to or from a materialized query table. |
428F2 |
An integer expression must be specified on a RETURN statement in an SQL
procedure. |
428F4 |
The SENSITIVITY specified on FETCH is not allowed for the cursor. |
428F5 |
The invocation of a routine is ambiguous. |
428F9 |
A sequence expression cannot be specified in this context. |
428FA |
The scale of the decimal number must be zero. |
428FB |
Sequence-name must not be a sequence generated by the system. |
428FC |
The length of the encryption password is not valid. |
428FE |
The data is not a result of the ENCRYPT function. |
428FJ |
ORDER BY or FETCH FIRST is not allowed in the outer fullselect of a view or
materialized query table. |
428FL |
A data change statement is not allowed in the context in which it was
specified. |
428FM |
An SQL data change statement within a SELECT specified a view which is not a
symmetric view. |
428FP |
Only one INSTEAD OF trigger is allowed for each kind of operation on a
view. |
428FQ |
An INSTEAD OF trigger cannot be created because of how the view is
defined. |
428FR |
A column cannot be altered as specified. |
428FS |
A column cannot be added to an index. |
428FT |
The partitioning clause specified on CREATE or ALTER is not valid. |
428FY |
A column cannot be added, dropped, or altered in a materialized query
table. |
428G3 |
FINAL TABLE is not valid when the target view of the SQL data change statement
in a fullselect has an INSTEAD OF trigger defined. |
428G4 |
Invalid use of INPUT SEQUENCE ordering. |
428G5 |
The assignment clause of the UPDATE statement must specify at least one column
that is not an INCLUDE column. |
428G8 |
The view cannot be enabled for query optimization. |
428GB |
A character could not be converted and substitution characters are not
allowed. |
428GC |
An invalid string unit was specified for a function. |
428GH |
The data type of one or more parameters specified in the ADD VERSION clause does
not match the corresponding data type in the routine being altered. |
428GI |
An XML schema is not complete because an XML schema document is missing. |
428GJ |
The table cannot be truncated because DELETE triggers exist for the table or the
table is a parent table of a referential constraint that would be affected by the statement. |
428GK |
An ALTER TRUSTED CONTEXT attempted to remove one or more of the minimum required
attributes. |
428GL |
The system authorization ID specified for a trusted context is already specified
in another trusted context. |
428GM |
The trusted context is already defined to be used by this authorization ID or
PUBLIC. |
428GN |
The specified authorization ID or PUBLIC is not defined in the specified trusted
context. |
428GU |
A table must include at least one column that is not implicitly hidden. |
428H2 |
Data type is not supported in the context where it is being used. |
428H8 |
The object must be defined as secure because another object depends on it for
row-level or column-level access control. |
428H9 |
PERMISSION or MASK cannot be altered. |
428HA |
An argument of a user-defined function must not reference a column for
which a column mask is defined. |
428HB |
A permission or mask cannot be created on the specified object. |
428HC |
A column mask is already defined for the specified column. |
428HD |
The statement cannot be processed because a column mask cannot be applied or the
definition of the mask conflicts with the statement. |
428HJ |
The organization clause specified on CREATE or ALTER is not valid. |
428HK |
The specified hash space is not valid for the implicitly created table
space. |
428HL |
Another version of the routine exists and is defined with an incompatible
option. |
428HM |
The table cannot be used as a system-period temporal table or an
archive-enabled table. |
428HN |
The period specification is not valid. |
428HW |
The period specification or period clause in an index or constraint is not
valid. |
428HX |
The table is not valid for a history table or archive table. |
428HY |
The period specification or period condition is not valid. |
428HZ |
The temporal attribute of the table was not valid for the specified ALTER
operation. |
428I1 |
The columns updated by the XMLMODIFY function were not specified in the UPDATE
SET clause. |
428I4 |
The combination of UNNEST arguments are not valid. |
428I5 |
The attributes of an object at one location do not match the attributes of the
same object at another location. |
428I6 |
The archive enabled table is not allowed in this context. |
428IC |
An Invalid combination of replication overrides is in use for a data change operation. |
42902 |
The object of the INSERT, UPDATE, or DELETE is also identified (possibly
implicitly through a view) in a FROM clause. |
42903 |
Invalid use of an aggregate function or OLAP function. |
42905 |
DISTINCT is specified more than once in a subselect. |
42906 |
An aggregate function in a subquery of a HAVING clause includes an expression
that applies an operator to a correlated reference. |
42907 |
The string is too long in the context it was specified. |
42908 |
The statement does not include a required column list. |
42909 |
CREATE VIEW includes an operator or operand that is not valid for views. |
42911 |
A decimal divide operation is invalid, because the result would have a negative
scale. |
42912 |
A column cannot be updated, because it is not identified in the UPDATE clause of
the select-statement of the cursor. |
42914 |
The DELETE is invalid, because a table referenced in a subquery can be affected
by the operation. |
42915 |
An invalid referential constraint has been detected. |
42917 |
The object cannot be explicitly dropped, altered, or replaced. |
42918 |
A user-defined data type cannot be created with a system-defined data type name
(for example, INTEGER). |
42924 |
An alias resolved to another alias rather than a table or view at the remote
location. |
42925 |
Recursive named derived tables cannot specify SELECT DISTINCT and must specify
UNION ALL. |
42927 |
The function cannot be altered to NOT DETERMINISTIC or EXTERNAL ACTION because
it is referenced by one or more existing views. |
42932 |
The program preparation assumptions are incorrect. |
42939 |
The name cannot be used, because the specified identifier is reserved for system
use. |
42945 |
ALTER CCSID is not allowed on a table space or database that contains a
view. |
42961 |
The server name specified does not match the current server. |
42962 |
The column type is not allowed in an index, a key, generated column, or a
constraint. |
42963 |
Invalid specification of a security label column. |
42969 |
The package was not created. |
42972 |
An expression in a join-condition or ON clause of a MERGE statement references
columns in more than one of the operand tables. |
42986 |
The source table of a rename operation is referenced in a context where is it
not supported. |
42987 |
The statement or routine is not allowed in a trigger. |
42988 |
The operation is not allowed with mixed ASCII data. |
42993 |
The column, as defined, is too large to be logged. |
42995 |
The requested function does not apply to global temporary tables. |
42996 |
A specified column may not be used in a partition key. |
42997 |
Capability is not supported by this version of the Db2 application requester, Db2
application server, or the combination of the two. |
429BB |
The data type of a column, parameter, or SQL variable is not supported. |
429BD |
RETURN must be the last SQL statement of the atomic compound statement within an
SQL row or table function. |
429B1 |
A procedure specifying COMMIT ON RETURN cannot be the target of a nested CALL
statement. |
429BI |
The condition area is full and cannot handle more errors for a NOT ATOMIC
statement. |
429BN |
A CREATE statement cannot be processed when the value of CURRENT SCHEMA differs
from CURRENT SQLID. |
429BQ |
The specified alter of the data type or attribute is not allowed. |
429BS |
Invalid index definition involving an XMLPATTERN clause or a column defined with
a data type of XML. |
429BV |
Invalid specification of a ROW CHANGE TIMESTAMP column. |
429BW |
The statement cannot be processed due to related implicitly created
objects. |
429BX |
The expression for an index key is not valid. |
429BY |
The statement is not allowed when using a trusted connection. |
429C1 |
A data type
cannot be determined for an untyped expression. |
429CB |
The attributes of the table or column are not supported for the table
type. |