Hitachi

Hitachi Advanced Database Messages


4.2 List of SQLSTATE values

The table below lists the SQLSTATE values that HADB outputs.

If an SQLSTATE value is returned, check the message provided in the Corresponding message column in the following table, and then take the appropriate action.

Table 4‒2: List of SQLSTATE values

SQLSTATE value

Summary of the contents

Corresponding message

00000

SQL statement execution has finished.

KFAA32000-I

The node in which to execute SQL statements is changed.

KFAA32390-I

01004

Data was truncated in data type conversion processing performed by the ODBC driver.

KFAA72005-W

01601

Processing of the SQL statement might require a long time because the SQL statement accesses data in all archived chunks.

KFAA51121-W

01J11

The result set type was changed because the result set type that allows scrolling with updated content is not supported.

KFAA71446-W

01J12

The concurrent processing type was changed for the result set, because updatable result sets are not supported.

KFAA71447-W

01J13

Because CLOSE_CURSORS_AT_COMMIT cannot be specified in the result set holdability, the result set holdability has been changed.

KFAA71454-W

01S07

Data was truncated in data type conversion processing performed by the ODBC driver.

KFAA72005-W

01S51

Characters that could not be converted during character encoding conversion were replaced with hash marks (#).

KFAA72001-W

02000

No rows match the conditions. Another possibility is that row fetching has terminated.

KFAA32100-I

07003

Queries cannot be executed with the CLI function a_rdb_SQLExecDirect(), which performs preprocessing and execution of SQL statements.

KFAA30506-E

07005

SQL statements other than queries whose SQL statement is preprocessed cannot be executed.

KFAA30512-E

07006

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

KFAA72006-E

08002

A connection to the HADB server has already been established. Connection processing cannot be re-executed while there is a connection to the HADB server.

KFAA30752-E

08004

The HADB server is not running.

KFAA30723-E

08605

The character encoding of the HADB server and that of the HADB client do not match.

KFAA30990-E

08607

The sort order of the character string data is incorrect.

KFAA31897-E

08608

A command is running that cannot be executed concurrently with another command or application.

KFAA31898-E

08609

The CONNECT statement cannot be executed because the HADB server operation mode is in offline mode.

0860A

The CONNECT statement cannot be executed because a direct connection to a slave node is being established.

KFAA31898-E

0860B

The CONNECT statement cannot be executed because an attempt to establish a connection to an HADB server-dedicated communication port is in progress.

KFAA31898-E

0860C

The HADB client cannot connect to the HADB server because the versions of the HADB client and HADB server are different.

KFAA30984-E

0860D

A connection to the HADB server cannot be established because the client or command belongs to a client group or command group whose maximum number of concurrent connections is zero.

KFAA31898-E

0860E

The CONNECT statement cannot be executed because the HADB server operation mode is maintenance mode.

08620

No more connections can be established to the HADB server because the number of connections has reached the maximum for simultaneous connections.

KFAA30932-E

08622

The sort order of the character string data is incorrect.

KFAA31897-E

08623

The CONNECT statement cannot be executed because the HADB client execution environment is invalid.

KFAA31898-E

21502

A cardinality violation occurred.

KFAA30450-E

22001

The input data length is invalid (the input data is longer than the column).

KFAA30404-E

The character string returned by scalar function TRANSLATE exceeded the permitted data length for execution results.

KFAA30421-E

The specified scalar function is invalid.

KFAA30453-E

KFAA31373-E

An error occurred while executing a scalar function.

KFAA31476-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72006-E

22003

The input data falls outside of the range of values for the column's data type.

KFAA30302-E

The input data for a dynamic parameter is invalid.

KFAA30326-E

An error occurred while executing a scalar function.

KFAA30421-E

KFAA31476-E

The specified scalar function is invalid.

KFAA30453-E

KFAA31373-E

An overflow occurred in a numeric data operation.

KFAA30801-E

An overflow occurred while a set function or a window function was executing.

KFAA30802-E

The value range for a set function argument is invalid.

KFAA31375-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

KFAA72006-E

22007

The input data for a dynamic parameter is invalid.

KFAA30326-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

KFAA72006-E

22008

An overflow error occurred in datetime data.

KFAA30421-E

KFAA30801-E

KFAA31476-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72006-E

22012

A division by zero error occurred while a scalar function was executing.

KFAA30421-E

KFAA31476-E

A division by zero error occurred during an arithmetic operation.

KFAA30800-E

22013

A value specified in the window frame value specification for a window frame border is invalid.

KFAA31301-E

22018

The specified scalar function is invalid.

KFAA30453-E

KFAA31373-E

An error occurred while executing a scalar function.

KFAA31476-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

KFAA72006-E

22019

The data length of the value expression specified for the escape character is invalid.

KFAA30424-E

2201E

An error occurred while executing a scalar function.

KFAA30421-E

An out-of-range value was specified in the LN scalar function.

KFAA31476-E

2201F

An error occurred while executing a scalar function.

KFAA30421-E

An out-of-range value was specified in the POWER or SQRT scalar function.

KFAA31476-E

22505

The input data for a dynamic parameter is invalid.

KFAA30326-E

2250A

The data content of the value expression specified for the escape character is invalid.

KFAA30424-E

2250G

A character string representation used in the scalar function does not match the format specification.

KFAA30361-E

The format specification in a scalar function is invalid.

KFAA31213-E

A required element is missing from the format specification of the scalar function.

KFAA31214-E

2250H

An error occurred while executing a scalar function.

KFAA30421-E

An out-of-range value was specified in a scalar function.

KFAA31476-E

2250I

The data lengths of the arguments specified in the scalar function are different.

KFAA31217-E

22510

The value specified for row-count or offset in the LIMIT clause is invalid.

KFAA31301-E

22521

The indicator value of the input data for a dynamic parameter is invalid.

KFAA30326-E

22522

The specification format of a scalar function is invalid.

KFAA31373-E

22523

An error occurred during check of the path name of the file that will be the input data of the system-defined function.

KFAA31734-E

22524

22525

The data format of the file that will be the input data of the system-defined function is invalid.

KFAA31735-E

22527

An error occurred in the file that will be the input data of the ADB_CSVREAD function.

KFAA31736-E

22528

22529

2252A

An error occurred during check of the path name of the file that will be the input data of the system-defined function.

KFAA31734-E

2252B

2252C

23503

An attempt was made to set a null value in a column for which null values cannot be set.

KFAA30210-E

23504

An attempt was made to update or add data that would have resulted in key values of a unique index being duplicated.

KFAA30803-E

24504

The cursor has not been opened.

KFAA30501-E

24505

An attempt was made to open a cursor that is already open.

KFAA30502-E

24506

Preprocessing was requested for a query that has a cursor open.

KFAA30505-E

24511

The cursor has not been closed.

KFAA31515-E

24512

There is a dynamic parameter for which no value is set.

KFAA31307-E

24513

An error has already occurred in the opened cursor.

KFAA31310-E

25006

The SQL statement could not be executed because the transaction access mode is read-only.

KFAA31524-E

28501

The specified password violates the password specification rules.

KFAA30560-E

28502

The specified authorization identifier or password is invalid.

KFAA30561-E

40503

No more pages can be created because the DB area file cannot be expanded.

KFAA30756-E

40508

An attempt was made to access an index that was in unfinished status.

KFAA30879-E

4050D

An attempt was made to access a table that is in non-updateable status due to a suspended command.

KFAA30889-E

4050G

An error occurred during lock processing.

KFAA30913-E

4050P

Processing to reserve a lock timed out.

KFAA30914-E

4050Q

An attempt was made to update or delete a row that is being updated or deleted by another transaction.

KFAA31713-E

40518

The row length of the work table has exceeded the upper limit.

KFAA30808-E

40528

An error occurred in processing on a file or directory.

KFAA30959-E

40602

No global buffer has been assigned to the DB area.

KFAA30918-E

40701

Processing cannot continue because there are not enough buffer sectors.

KFAA30919-E

40704

The global buffer is temporarily unavailable.

KFAA30953-E

40801

No new table or index can be defined in the data DB area because the maximum number of chunks that can be managed by one data DB area was exceeded. Another possibility is that the maximum number of chunks for the table defined in the data DB area cannot be increased.

KFAA31727-E

40802

The specified chunk ID does not exist in the table.

KFAA31728-E

40803

The chunk ID of the current chunk cannot be specified in the PURGE CHUNK statement.

KFAA31729-E

40804

The ALTER TABLE statement cannot be executed because the maximum number of chunks specified in the ALTER TABLE statement is less than the number of chunks that have already been created in the table.

KFAA31730-E

40820

The number of user log files has reached its upper limit.

KFAA31711-E

40900

The number of base tables, indexes, viewed tables, or HADB users exceeded the maximum number defined for the system.

KFAA30811-E

40910

The number of tables or indexes has exceeded the maximum that can be stored in a single DB area.

KFAA30812-E

40920

The page being recovered for database update processing was accessed during the master node switchover processing.

KFAA31733-E

42501

The length of a character string literal exceeds 32,000 bytes.

KFAA30102-E

42502

The length of a binary literal exceeds the maximum allowed value.

KFAA30145-E

42505

A character string literal is incomplete.

KFAA30106-E

42509

A binary literal specification is invalid.

KFAA30144-E

42510

An SQL statement contains an error such as one of the following:

  • A name contains a character that cannot be specified (such as a character encoding mismatch).

  • A name with a length of 0 exists.

  • The statement contains a character or keyword that is not allowed by the syntax.

KFAA30104-E

42511

The numeric literal that was specified is invalid.

KFAA30410-E

42512

The specification format of the floating-point numeric literal is invalid.

KFAA30103-E

42513

A numeric literal that is outside the specification range was specified.

KFAA30405-E

42520

The length of a name exceeds 100 bytes. Another possibility is that a keyword was specified incorrectly.

KFAA30107-E

42529

The length of the authorization identifier is outside the range of 1 to 100 bytes.

KFAA30564-E

42530

An SQL statement contains an error such as one of the following:

  • The first keyword of the SQL statement is invalid.

  • The only character is a separator character.

KFAA30104-E

42532

The following syntax error was found in the identifier specified for the national character set:

  • A double-byte space character was used.

KFAA30142-E

42539

The specified authorization identifier contains at least one of the following errors:

  • A character that is not an alphanumeric character was specified.

  • A character that cannot be specified with normal identifiers was specified.

KFAA30564-E

42550

A dynamic parameter is specified at an invalid location.

KFAA30418-E

42561

The specified predicate is invalid.

KFAA30114-E

42572

The specified ROW is invalid.

KFAA30149-E

42590

The length, precision, or scale of a data type is invalid.

KFAA30604-E

42591

The fractional seconds precision specified for the datetime information acquisition function is invalid.

KFAA30131-E

425A0

The specified number exceeds the maximum allowed value.

KFAA30129-E

425A4

425A6

425A7

425A8

425A9

425AA

425AI

425B0

425B1

425B2

The number of grouping columns specified in a GROUP BY clause exceeds the maximum allowed value.

KFAA30122-E

425B3

The number of specified sort keys exceeds the maximum allowed value.

KFAA30124-E

425B5

The specified value exceeds the maximum allowed value.

KFAA30129-E

425B6

425B7

425BB

425BC

425BG

The number of value expressions specified in a window partition clause exceeds the maximum allowed value.

KFAA30122-E

425BJ

The specified number exceeds the maximum allowed value.

KFAA30129-E

425C0

The number of columns in the table exceeds the upper limit of 1,000.

KFAA30602-E

425C1

The specified value exceeds the maximum allowed value.

KFAA30129-E

425C2

425C6

The number of columns in a multiple-column index exceeds the upper limit of 16. Another possibility is that the number of columns making up the primary key exceeds the upper limit of 16.

KFAA30617-E

425CA

The specified value exceeds the maximum allowed value.

KFAA30129-E

425CD

The number of columns constituting a foreign key exceeds the maximum of 16.

KFAA30617-E

425CF

The specified value exceeds the maximum allowed value.

KFAA30129-E

425CG

425CH

425CK

The number of specifications exceeds the maximum allowed.

KFAA31129-E

425CL

A delimited identifier that contains left or right parentheses can be specified only in the first query specification in the SELECT statement. However, a delimited identifier that contains left or right parentheses cannot be specified for a query specification in the WITH clause.

KFAA31131-E

425CM

Although NULL is specified in the selection expression in a query specification, an error occurred in the SELECT statement because the conditions of available specifications are not met.

KFAA31132-E

425D0

No column definition is specified in the CREATE TABLE statement.

KFAA30678-E

425D4

An option was illegally specified more than once in a table or index definition.

KFAA30673-E

425D5

A value outside the valid range was specified for a table option in the CREATE TABLE or ALTER TABLE statement, or for an index option in the CREATE INDEX statement.

KFAA30705-E

425D7

A privilege specified in the GRANT or REVOKE statement is duplicated.

KFAA30572-E

425Q0

The specification of the maximum-number-of-recursions specification is invalid.

KFAA31135-E

42601

An extra character string exists after the SQL statement.

KFAA30104-E

42602

An SQL statement contains a syntax error.

KFAA30105-E

42603

An SQL statement is incomplete.

KFAA30106-E

42703

The value specified for labeled duration is invalid.

KFAA31405-E

42705

The data type or length of a column is invalid.

A value expression whose result has a data length of 0 was specified.

KFAA31205-E

42710

The aggregated argument specified in a set function is invalid. Another possibility is that the argument specified in a window function is invalid.

KFAA30112-E

42711

A set function is specified in an argument of a set function.

KFAA30113-E

42712

The data type of an aggregated argument in a set function is invalid. Another possibility is that the data type of an argument in an inverse distribution function is invalid.

KFAA30402-E

42713

The specified set function is invalid.

KFAA30403-E

42714

A set function or a window function is specified at an invalid location.

KFAA30120-E

42715

A subquery is specified at an invalid location.

KFAA30154-E

42716

The SELECT DISTINCT and DISTINCT set functions are both specified.

KFAA30127-E

42717

Multiple DISTINCT set functions containing different column names in the arguments are specified.

42718

Another DISTINCT set function is specified in addition to a DISTINCT set function specified in the value expression of an argument.

42720

The number of columns to be inserted does not match the number of values to be inserted.

KFAA30117-E

42721

In a specified set operation, the tables derived from individual query expression bodies do not have the same number of columns.

KFAA30195-E

42722

Two or more selection expressions have been specified for a retrieval item.

KFAA30192-E

42723

There is an error in the specified CREATE VIEW statement. The number of column names specified in the column name list differs from the number of columns for the table that is derived from the query expression.

KFAA30650-E

42730

A name is duplicated within a FROM clause.

KFAA30211-E

42731

An update column or insertion column is duplicated.

KFAA30121-E

42732

A column specification is duplicated.

KFAA30123-E

42733

A query name was specified more than once in a WITH clause.

KFAA30458-E

42734

A column name is duplicated in a viewed table.

KFAA30459-E

42736

A column used as a sort key specified in the ORDER BY clause is duplicated.

KFAA31123-E

42737

The specified viewed table has a view level that cannot be specified in the CREATE VIEW statement.

KFAA31219-E

42740

The qualifying table specification contains a name that is not valid to specify in an SQL statement.

KFAA30201-E

42741

The specified table or index has not been defined.

KFAA30204-E

42742

The specified column does not exist in any table of the SQL statement or query specification. Another possibility is that the name is invalid.

KFAA30202-E

The specified column was not found in a table, correlation name, or query in a FROM clause.

KFAA30205-E

There are no target candidates for the specified identifier within the valid range.

KFAA30239-E

42743

The sort item specification number specified in an ORDER BY clause is invalid.

KFAA30125-E

A column that is not specified in the selection expression cannot be specified in the ORDER BY clause due to one of the following reasons:

  • SELECT DISTINCT has been specified in a selection expression.

  • A set operator for the outermost query specification is specified.

KFAA30208-E

42744

The table to which the specified column name belongs cannot be determined.

KFAA30203-E

There are two or more corresponding tables in a query with ROW specified.

KFAA30213-E

42745

A column specified in an ORDER BY clause is found more than once in a table derived as a result of a query.

KFAA30220-E

42746

The specified SQL statement contains the following error:

  • In a query using a GROUP BY clause or set function specification, the column specification in a selection expression, HAVING clause, or ORDER BY clause must be specified as an argument of the GROUP BY clause or set function.

KFAA30119-E

42750

ROW is specified for a table that is not a FIX table.

KFAA30214-E

42767

The specification of the chunk ID is invalid.

KFAA31209-E

42768

42769

4276B

4276C

4276D

4276E

4276F

42770

A dynamic parameter is specified at an invalid location in a predicate.

KFAA30417-E

42771

A dynamic parameter is specified at an invalid location in an operation.

KFAA30419-E

4277E

The specification of the system-defined function is invalid.

KFAA30177-E

4277F

4277G

42780

A data type that cannot be specified in a datetime operation was specified with an arithmetic operator.

KFAA30413-E

Labeled durations can only be specified for the operands of addition and subtraction operations on datetime data.

KFAA30414-E

42782

The argument specified in the scalar function is invalid.

KFAA30425-E

42784

The specified CASE expression is invalid.

KFAA30448-E

42785

The argument specified in the scalar function is invalid.

KFAA30453-E

42786

The specification of the system-defined function is invalid.

KFAA30177-E

42787

The datetime format specified in a scalar function is not compatible with the time data.

KFAA31212-E

42788

The data type of an argument is invalid in the LTRIM, RTRIM, or TRIM scalar function.

KFAA31425-E

42789

The format specification in a scalar function is invalid.

KFAA31213-E

4278A

4278B

4278C

4278D

4278E

The data length of an argument in the REPLACE scalar function is invalid.

KFAA31425-E

4278G

The specification of the labeled duration is invalid.

KFAA30415-E

4278H

4278I

4278J

The specification method of the scalar function is invalid.

KFAA31235-E

4278K

4278M

4278N

4278O

The specified scalar function is invalid.

KFAA31234-E

4278P

4278Q

4278R

The length of the regular expression character string specified in the LIKE_REGEX predicate is invalid.

KFAA31424-E

4278S

The specified scalar function LTDECODE is invalid.

KFAA31226-E

42793

The table to be updated cannot be specified as a table from which data is to be retrieved.

KFAA30118-E

427A0

The depth of nesting of the operation exceeded 255. Another possibility is that the SQL statement could not be executed because of a restriction on system processing.

KFAA30101-E

427A2

The number of value expressions specified in an IN predicate has exceeded the upper limit of 30,000.

KFAA30137-E

427A3

CURRENT_USER_IS_DBA is specified, but this character string is not permitted.

KFAA31203-E

427A4

The insertion value specified in an INSERT statement is invalid.

KFAA31206-E

427A5

The null-value sort order specification cannot be specified in the sort specification list.

KFAA31126-E

427A6

The number of set operations specified in an SQL statement that include EXCEPT or INTERSECT exceeds the maximum of 63 that can be specified.

KFAA31210-E

427B2

For a query that uses a set operation, a column name qualified in the table specification cannot be specified as a sort key.

KFAA30194-E

427B3

A viewed table cannot be defined with another viewed table as its underlying table.

KFAA30655-E

The TRUNCATE TABLE statement cannot be executed on a viewed table.

KFAA30677-E

427B4

The PURGE CHUNK statement cannot be executed on a single-chunk table or viewed table.

KFAA30677-E

427B5

No chunk ID is specified in the PURGE CHUNK statement.

KFAA31215-E

427B6

For a query that uses a set operation, no value expression can be specified in the ORDER BY clause.

KFAA30194-E

427B7

No more than one sort key can be specified in this function.

KFAA31124-E

427B9

The specified inverse distribution function is invalid.

KFAA31127-E

427BA

427BB

427BC

A column in the table where chunks are to be deleted is specified in the PURGE CHUNK statement.

KFAA31215-E

427D3

A WITH clause specification is invalid.

KFAA31204-E

427G0

A window function specification is invalid.

KFAA30257-E

427G1

427G2

427G3

427G4

427G5

427H0

A window function specification is invalid.

KFAA30264-E

427H1

427H2

427H3

A window function specification is invalid.

KFAA31120-E

427H4

The number of window functions specified in the query specification or the ORDER BY clause exceeds 8.

KFAA31125-E

427HA

The value expression in the following location contains no column specification.

  • Window partition clause

KFAA30166-E

427HC

The sort key specified in an ORDER BY clause is invalid.

427HD

Sort item specification numbers for ROW cannot be specified.

KFAA30126-E

427HE

For a query that specifies SELECT DISTINCT, no value expression can be specified in the ORDER BY clause.

KFAA30194-E

427I0

If AS column-name is specified in the GROUP BY clause, a value expression containing only column specifications cannot be specified in the GROUP BY clause.

KFAA31202-E

427I3

The specified LIMIT clause is invalid.

KFAA31216-E

427I4

427I5

If AS column-name is specified in the GROUP BY clause, the grouping column name cannot be referenced from a subquery in the HAVING clause or selection expression.

KFAA31201-E

427I6

The specified LIMIT clause is invalid.

KFAA31216-E

427I7

Table names of table references specified in the outermost query specification cannot be referenced from subqueries in ORDER BY clauses.

KFAA31207-E

427I8

A FULL OUTER JOIN specification is invalid.

KFAA31128-E

427I9

The specified multiset value expression is invalid.

KFAA30323-E

427IA

427J0

An argument specified in the ADB_CSVREAD function is invalid.

KFAA30324-E

427J1

427J2

427J3

427J4

427J5

427J6

427J7

427J8

427J9

427JA

The table function column list specified in the table function derived table is invalid.

KFAA31239-E

427K0

The specification of the table function derived table with the system-defined function specified is invalid.

KFAA31240-E

427K1

The argument specified in the system-defined function is invalid.

KFAA31241-E

427K2

427K5

A multiset value constructor by query cannot be specified as an argument of the ADB_AUDITREAD function.

KFAA31242-E

427K6

There is a problem with the audit trail file path names (that contain special characters) specified as the argument of the ADB_AUDITREAD function.

KFAA31243-E

427K7

427L0

The numbers of row value constructor elements specified in the row value constructors do not match.

KFAA31260-E

427M0

The specified row value constructor element is invalid.

KFAA31261-E

427M1

A dynamic parameter alone cannot be specified in a row value constructor element.

KFAA31262-E

427N0

The recursive member contains an item that cannot be specified.

KFAA31470-E

427N1

The data type and data length of the column derived from the anchor member are different from those of the column derived from the recursive member.

KFAA31471-E

427N5

The specification of the recursive query is invalid.

KFAA30464-E

427N6

427N7

427N8

42801

The data types of the results of the value expressions specified in a predicate cannot be compared to each other or converted.

KFAA30401-E

The data type of a value expression specified in a predicate is not character string data.

KFAA30407-E

42802

An invalid data type is specified in the operand of an operator.

KFAA30406-E

An invalid data type was specified in the first or second operand of a concatenation operation.

KFAA30411-E

42803

The data type of the update value or insertion value is not a data type that can be converted.

KFAA30408-E

42804

A set operation specification is invalid.

KFAA30197-E

42806

The data types of the results of value expressions specified for THEN and ELSE in a CASE expression are not compatible.

KFAA30447-E

42807

The specified scalar function is invalid.

KFAA30453-E

4280F

A window function specification is invalid.

KFAA30257-E

42812

The maximum length of the result of an operation exceeds 32,000 bytes.

KFAA30420-E

42819

The data length of an argument specified in the scalar function exceeds the maximum byte length.

KFAA31420-E

42820

Permission to access the specified schema or schema object has not been granted.

KFAA30548-E

42849

A table function derived table with the system-defined function specified cannot be specified.

KFAA30467-E

42850

No dynamic parameter can be specified in a view definition.

KFAA30651-E

42870

An attempt was made to perform an operation that cannot be performed on a table.

KFAA30670-E

42875

The SQL statement specification is invalid.

KFAA31280-E

428A3

A viewed table cannot be defined with a dictionary table or a system table as its underlying table.

KFAA30547-E

428F0

An index specification is invalid.

KFAA31208-E

428F1

428F5

The specified subquery processing method specification is invalid.

KFAA31223-E

428T0

The specified scalar function CONTAINS contains an error.

KFAA34002-E

428T1

428T2

A notation-correction-search specification cannot be specified because the character encoding used by the HADB server is Shift-JIS (if the value specified for the environment variable ADBLANG is SJIS).

KFAA34003-E

428T3

A regular expression specified for a regular expression character string in the LIKE_REGEX predicate is invalid.

KFAA34004-E

428T4

428T5

428T6

428T7

The synonym dictionary specified in the scalar function CONTAINS does not exist.

KFAA34005-E

428T8

The synonym dictionary specified in the scalar function CONTAINS does not support a correction search.

KFAA34006-E

428T9

A synonym search cannot be performed if the multi-node function is used.

KFAA34007-E

428TA

The specified scalar function CONTAINS contains an error.

KFAA34002-E

428TB

428TC

42929

A viewed table contains a column for which no derived column name has been set, and the column name specification was omitted.

KFAA30460-E

4292A

This viewed table cannot be accessed because it is invalidated.

KFAA30454-E

42932

The specified environment variable is invalid.

KFAA30724-E

429D9

The data type of row-count or offset in the LIMIT clause is invalid.

KFAA31301-E

42I01

An SQL statement contains an error similar to the following:

  • A viewed table is specified in the ALTER TABLE statement.

  • A base table is specified in the ALTER VIEW statement.

  • A viewed table is specified in the CREATE INDEX statement.

  • A viewed table is specified in the DROP TABLE statement.

  • A base table is specified in the DROP VIEW statement.

KFAA30206-E

42I05

The specified schema object does not exist.

KFAA30437-E

42I08

The authorization identifier or schema name specification is invalid.

KFAA30549-E

42I13

The table name, index name, or constraint name specified in one of the following SQL statements is already in use:

  • ALTER TABLE statement

  • CREATE TABLE statement

  • CREATE INDEX statement

  • CREATE VIEW statement

KFAA30601-E

42I14

The following operations cannot be performed for a FIX table:

  • Define a column of the variable-length data type.

  • Specify the chunk-archive specification.

  • Define a table as a column store table.

KFAA30609-E

42I15

A column name has been used more than once.

KFAA30612-E

42I16

A column that cannot be defined for a B-tree index was specified as an indexed column for a B-tree index.

KFAA30614-E

42I18

An error occurred in an SQL statement because a column name was specified more than once.

KFAA30619-E

42I26

The schema does not exist.

KFAA30656-E

42I29

An index with the same structure already exists.

KFAA30661-E

42I30

A schema with the same name already exists.

KFAA30664-E

42I44

An SQL statement was executed with RESTRICT specified for the drop behavior, but the SQL statement resulted in an error for one of the following reasons:

  • An attempt was made to delete base tables for which indexes or constraints were defined.

  • An attempt was made to delete schemas for which tables were defined.

  • An attempt was made to delete a table on which viewed tables depend.

KFAA30695-E

42I53

A foreign key cannot be defined because the referenced table has no primary key defined for it.

KFAA30742-E

42I54

The configuration of a foreign key differs from that of the primary key that the foreign key accesses.

KFAA30743-E

42I55

A foreign key cannot be defined for one of the following reasons:

  • The referenced table specified is not a base table

  • The referenced table is the same as the referencing table

KFAA30744-E

42I60

The null-value exclusion specification (EXCLUDE NULL VALUES) cannot be specified due to one of the following reasons:

  • The null-value exclusion specification is specified for an index that is not a B-tree index.

  • The indexed columns include a column for which the NOT NULL constraint is specified.

KFAA30758-E

42I72

A DEFAULT clause specification is invalid.

KFAA30798-E

42I75

A CREATE INDEX statement, an ALTER TABLE or a CREATE TABLE statement cannot be executed.

KFAA31600-E

42I77

Multiple referential constraints that access the same primary key cannot be defined from the same column or from the same group of multiple columns (even if the column order is different).

KFAA31602-E

42IA6

An invalid option is specified in an index definition.

KFAA31650-E

42IA7

Multiple indexed columns are specified in an index definition.

KFAA31651-E

42IA8

A column for which a range index cannot be defined is specified as an range-indexed column.

KFAA31652-E

42IA9

An attempt is made to define a unique index for a multi-chunk table.

KFAA31653-E

42IAA

The specified table option is invalid.

KFAA31684-E

42IAB

The specified option is invalid.

KFAA31685-E

42IAC

A column with the NOT NULL constraint specified cannot be added to a base table to which segments for storing rows are assigned.

KFAA30630-E

42IAD

The maximum number of chunks was not specified in the chunk specification when the base table was defined by using the CREATE TABLE statement. Therefore, the ALTER TABLE statement cannot be used to change the maximum number of chunks.

KFAA31654-E

42IAE

The specified ALTER TABLE statement is invalid. Neither the maximum number of chunks nor the chunk-archive specification is specified.

KFAA31655-E

42IAF

If the chunk specification is specified, a primary key cannot be defined. Conversely, if a primary key is defined, the chunk specification cannot be specified.

KFAA31657-E

42IB0

The DROP INDEX statement cannot be used to delete the indexes that correspond to the primary key.

Alternatively, the DROP INDEX statement cannot be used to delete the range indexes that are automatically defined for archive range columns.

KFAA31658-E

42IB2

A text index cannot be defined for columns.

KFAA31659-E

42IB3

The following index option cannot be specified for an index other than a text index:

  • Notation-correction-search text-index specification

KFAA31660-E

42IB4

Columns of the following data types cannot be specified as archive range columns:

  • CHARACTER type with a definition length of 33 or more bytes

  • VARCHAR type

  • BINARY type

  • VARBINARY type

KFAA31665-E

42IB5

The length of the path name of the specified archive directory is not in the range from 1 to 400 bytes.

KFAA31666-E

42IB6

The specified archive directory is not an absolute path.

42IB7

The notation-correction-search text-index specification (CORRECTIONRULE) cannot be specified because the character encoding used on the HADB server is Shift-JIS (if the value specified for the environment variable ADBLANG is SJIS).

KFAA31667-E

42IB8

The specified ALTER TABLE statement is invalid. Change of the maximum number of chunks and the chunk-archive specification cannot be specified at the same time.

KFAA31668-E

42IB9

The chunk-archive specification in the ALTER TABLE statement cannot be specified for an archivable multi-chunk table.

KFAA31669-E

42IBA

The chunk-archive specification in the CREATE TABLE statement or ALTER TABLE statement is invalid.

KFAA31550-E

42IBB

The chunk-archive specification in the ALTER TABLE statement is invalid.

KFAA31551-E

42IBC

The NOT NULL constraint (NOT NULL) is not defined for the column specified for RANGECOLUMN in the chunk-archive specification in the ALTER TABLE statement.

KFAA31552-E

42IBD

The chunk-archive specification in the ALTER TABLE statement cannot be specified for a single-chunk table.

KFAA31553-E

42IBE

The column name cannot be changed by using the ALTER TABLE statement because the current column name is the same as the new column name.

KFAA31554-E

42IBF

The archivable multi-chunk table could not be changed to a regular multi-chunk table because an error occurred in the ALTER TABLE statement.

KFAA31555-E

42IC0

TEXT WORDCONTEXT is not specified for the index type. Therefore, a text-index delimiter specification cannot be specified.

KFAA31686-E

42IC1

The table for which you are attempting to define a text index is a column store table.

KFAA31653-E

42K01

The table to be searched cannot be referenced because you do not have the required privileges.

KFAA30550-E

42K02

The SQL statement cannot be executed because the user who executed the SQL statement is invalid.

KFAA30551-E

42K03

The DBA privilege is required to perform the attempted operation.

KFAA30552-E

42K05

An attempt was made to revoke a privilege that cannot be revoked by that same user.

KFAA30555-E

42K06

The operation by a GRANT or REVOKE statement could not be performed.

KFAA30556-E

42K07

A nonexistent authorization identifier is specified.

KFAA30559-E

42K10

The schema definition privilege cannot be deleted because the HADB user having the authorization identifier specified in the REVOKE statement owns the schema.

KFAA30577-E

42K12

An attempted operation requires the schema definition privilege.

KFAA30579-E

42K14

Schema belonging to other HADB users cannot be changed.

KFAA30607-E

42K19

The HADB user having the authorization identifier specified in the DROP USER statement cannot be deleted.

KFAA30562-E

42K26

The privilege cannot be revoked because RESTRICT is specified for the drop behavior.

KFAA31436-E

42K30

An attempt is made to grant privileges that cannot be granted to the same HADB user.

KFAA31670-E

42K33

The password of an HADB user who has the audit privilege cannot be changed by other HADB users.

KFAA31673-E

42K35

You do not have the privilege required to perform operations relating to the audit trail facility.

KFAA31675-E

42K38

The audit target specified in the CREATE AUDIT statement is already defined.

KFAA31678-E

42K39

The audit target definition specified in the DROP AUDIT statement does not exist.

KFAA31679-E

42K43

The specified authorization identifier is already in use.

KFAA30566-E

5100J

An error occurred when an SQL statement that uses hash tables was executing.

KFAA31372-E

5100K

An attempt to execute the DELETE statement for the archivable multi-chunk table caused an error because the specified search condition did not meet the execution condition of the DELETE statement.

Alternatively, an attempt to execute the UPDATE statement for the archivable multi-chunk table caused an error because the specified search condition did not meet the execution condition of the UPDATE statement.

KFAA31376-E

5100L

The number of recursions in the recursive query exceeds the maximum number of recursions.

KFAA31377-E

52004

No SQL statements can be executed because the HADB server is being started or terminated.

KFAA30727-E

52011

The operation relating to the audit trail facility cannot be performed because the audit trail facility is disabled.

KFAA30575-E

5201F

An application program cannot connect to the HADB server on a kernel or OS version that is not supported by HADB.

KFAA31893-E

52020

The SQL statement cannot be executed because a uniqueness constraint violation occurred on a B-tree index between the time the preprocessing of the SQL statement began and the time the SQL statement was executed.

KFAA31714-E

52320

The connection to the HADB server was closed.

KFAA30722-E

52321

Invalid data was received from the HADB server.

52322

The address of the target host could not be acquired.

KFAA30723-E

52324

One of the following failures was detected:

  • A failure occurred on the network.

  • The HADB server terminated abnormally and the connection was closed.

  • The connection was closed because the HADB client version differs from the HADB server version.

52325

A security violation occurred in the JDBC driver.

52326

A timeout occurred while connecting to the HADB server or during data transmission.

52328

A system call error occurred during communication processing.

52330

An error occurred in the application program or command because HADB server processing did not terminate when the timeout period expired.

KFAA30732-E

52401

The SQL statement cannot be executed because another SQL statement or command has locked a resource that the SQL statement needs to execute.

KFAA31371-E

52402

The dictionary table (base table) cannot be accessed because a transaction is using the dictionary table (base table).

KFAA31648-E

52403

The specified operation cannot be performed because a locked resource is being used by another operation.

KFAA31656-E

52404

53021

Columns cannot be added to the target table.

KFAA30613-E

53024

A definition SQL statement cannot be executed because the table definition information is in use.

KFAA30692-E

53026

The table definition information for a slave node could not be invalidated.

KFAA31661-E

53027

The SQL statement cannot be executed because the table is being referenced in the same transaction.

KFAA31662-E

53028

The SQL statement or the command cannot be executed due to contention of the locked resource.

KFAA31663-E

53029

The definition SQL statement cannot be executed because a ResultSet object exists.

KFAA31664-E

5302A

A directory that does not exist is specified as an archive directory.

KFAA31666-E

5302B

A directory that cannot be specified as an archive directory is specified.

5302C

A directory for which the HADB administrator does not have read, write, and execution permissions is specified as an active directory. Alternatively, the archive directory path contains a directory for which the HADB administrator does not have execution permission.

5302D

Link destinations for the symbolic link specified in the archive directory cannot be acquired.

5302E

An error occurred in a system call.

53030

The server message log file is full.

KFAA31896-E

53031

The client message log file is full.

53040

A descriptor shortage occurred.

KFAA30723-E

53041

Allocation of communication port numbers failed.

53050

An error occurred during operation on the synonym dictionary file.

KFAA34008-E

53051

Data retrieval by using the text index is not available. Alternatively, the text index cannot be updated.

KFAA34009-E

53201

A memory shortage occurred in a client library.

KFAA30723-E

An attempt to acquire enough memory to execute the SQL statement has failed.

KFAA30930-E

54001

An argument of a CLI function is invalid.

KFAA30565-E

KFAA31306-E

54006

An analysis of the client definition has failed.

KFAA30824-E

54009

Execution of an SQL statement was requested before preprocessing of the SQL statement had terminated normally.

KFAA30901-E

54012

The following functions cannot be used on statement handles prepared for execution of statements other than DELETE, INSERT, and UPDATE statements:

  • Batch update functionality of the JDBC driver

  • Update using batch binding of dynamic parameters of the CLI function (a_rdb_SQLBindArrayParams())

KFAA30873-E

54013

An SQL statement is already executing on the same connection.

KFAA31898-E

54014

Transactions cannot be started because a read-only transaction is being executed on an HADB server in a multi-node configuration.

54016

Transactions cannot be started because a read/write transaction or command is being executed on an HADB server in a multi-node configuration.

54017

The transaction cannot be executed because a command is executing or because another transaction is being executed by an application program.

KFAA31719-E

54018

An update SQL statement or definition SQL statement cannot be executed because the HADB server operation mode is quiescence mode.

KFAA31898-E

54020

A retrieval SQL statement resulted in an error.

54201

An SQL statement cannot be executed because no connection has been established to the HADB server.

KFAA30563-E

54202

An SQL statement that uses this connection is already being executed.

KFAA30319-E

54203

The following items cannot be set because no connection has been established:

  • Transaction isolation level

  • Sort order of character string data

  • Transaction access mode

  • Additional user information

KFAA31897-E

54204

The following items cannot be set because the transaction has already started:

  • Transaction isolation level

  • Sort order of character string data

  • Transaction access mode

  • Additional user information

54205

The specified character string data sort order is invalid.

54206

The following items cannot be set because the cursor is already opened:

  • Transaction isolation level

  • Sort order of character string data

  • Transaction access mode

  • Additional user information

56001

The total length of data specified in a dynamic parameter exceeds 2 gigabytes. Another possibility is that the total length of data in the retrieval result exceeds 2 gigabytes.

KFAA30312-E

56006

The total memory required to execute the SQL statement exceeds 2 gigabytes.

KFAA30229-E

56007

The length of a B-tree index key exceeds the maximum value.

KFAA30616-E

56009

The CREATE TABLE or ALTER TABLE statement cannot be executed because the size of the area required to store a row exceeds the page size.

KFAA30657-E

5600B

The number of indexes that can be defined for a single table has exceeded the upper limit of 32.

KFAA30706-E

5600C

The number of foreign keys that reference a primary key exceeded 255.

KFAA30748-E

5600E

The SQL statement length has exceeded the upper limit of 16,000,000 bytes, or the length is invalid.

KFAA30821-E

The length of a CREATE VIEW statement exceeds 64,000 bytes.

KFAA31121-E

56020

An invalid statement handle is specified.

KFAA30805-E

56033

The number of statement handles has exceeded the upper limit of 4,095.

KFAA30931-E

56034

The total data length of dynamic parameters exceeds 32,000,000 bytes.

KFAA31218-E

58005

The DB area specified in the following SQL statements or the assumed DB area does not exist:

  • CREATE TABLE statement

  • CREATE INDEX statement

  • ALTER TABLE statement

KFAA30652-E

58006

The specified or assumed DB area is not a data DB area.

KFAA30653-E

58024

The data DB area for storing tables or indexes is not specified in the CREATE TABLE or CREATE INDEX statement.

KFAA31696-E

5B002

Processing of the SQL statement or command was canceled and the transaction was rolled back.

KFAA30955-E

5C002

A character encoding conversion error occurred.

KFAA72000-E

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

KFAA72006-E

5C011

An internal conflict was found.

KFAA30318-E

KFAA30322-E

KFAA30720-E

5C015

Invalid data was received from the HADB server.

KFAA30733-E

5C034

Invalid data was received from an HADB client (including a JDBC driver) or command.

KFAA31895-E

5C035

An internal conflict was detected in the ODBC driver.

KFAA72099-E

5C036

The specified input data whose setting was requested is invalid.

--

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72006-E

5C037

The specified input data whose setting was requested is invalid.

--

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

5C038

There is an error in the area specified for receiving acquired result data.

--

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

5C039

There is an error in the area specified for receiving acquired result data.

--

5C03A

The transaction was rolled back because an error occurred in one of the statement handles used in the transaction.

KFAA31894-E

5C041

A data type that is not supported by the ODBC driver was specified in an SQL statement.

--

5C051

The length of an SQL statement exceeded 16,000,000 characters.

KFAA72007-E

5C052

The versions of the ODBC driver and the HADB client are different.

KFAA72009-E

5D001

An error occurred in HADB, and neither the SQLSTATE value nor the message could be obtained.

KFAA72002-E

HY001

An error occurred in data type conversion version processing performed by the ODBC driver.

KFAA72004-E

HY003

HY004

HY009

HY013

KFAA72006-E

HY090

HY104

HYC00

R2411

The object was invalidated because its transaction has terminated (including any implicit rollbacks).

KFAA71002-E

R2412

The type of the table specified by the getTables method argument for the String-type array is invalid.

KFAA71017-E

R2413

Processing cannot be accepted because the Statement instance is already closed.

KFAA71202-E

R2414

Conversion of the character encoding failed.

KFAA71203-E

R2415

An attempt to read from the java.io.Reader or java.io.InputStream has failed.

KFAA71204-E

R2416

Processing cannot be accepted because the Connection instance is already closed.

KFAA71206-E

R2417

An attempt was made to execute a method that is not supported.

KFAA71209-E

R2418

Batch processing cannot be performed because this SQL statement returns a result set.

KFAA71210-E

R2419

An unsupported argument was specified in the setFetchDirection method.

KFAA71211-E

R2420

The value of an argument specified in the setFetchSize method is invalid.

KFAA71212-E

R2421

Processing cannot be accepted because the instance is already closed.

KFAA71218-E

R2423

Objects of the class specified by the unwrap method of the Wrapper interface cannot be acquired.

KFAA71222-E

R2424

An attempt to register the JDBC driver with the driver manager has failed.

KFAA71301-E

R2425

The scroll type value of the specified result set is an invalid scroll type that is not defined by ResultSet.

KFAA71448-E

R2426

The concurrent processing type value of the specified result set is an invalid concurrent processing type that is not defined by ResultSet.

KFAA71449-E

R2427

The escape clause of the specified SQL statement is invalid.

KFAA71450-E

R2428

The specified connection information is invalid.

KFAA71452-E

R2429

The value of the holdability of the specified result set is an invalid value that is not defined in the ResultSet class.

KFAA71453-E

R2430

A negative value is specified for the maximum selection row count that is specified with the setMaxRows method or setLargeMaxRows method.

KFAA71562-E

R2431

The specified SQL statement is a null value or a character string with a length of zero.

KFAA71563-E

R2432

A negative value is specified for the timeout value that is specified with the setQueryTimeout method.

KFAA71564-E

R2433

A negative value is specified for the maximum field length that is specified with the setMaxFieldSize method.

KFAA71565-E

R2434

The specified SQL statement cannot be executed by executeQuery.

KFAA71566-E

R2435

The specified SQL statement cannot be executed by the executeUpdate method or executeLargeUpdate method.

KFAA71567-E

R2436

The number of batch registrations exceeded the upper limit of 2,147,483,647.

KFAA71569-E

R2437

Parameters of this SQL data type cannot be specified.

KFAA71680-E

R2438

A required parameter has not been specified.

KFAA71681-E

R2439

The specified parameter is invalid.

KFAA71682-E

R2440

The value of the parameter index is invalid.

KFAA71683-E

R2441

The object that was specified with the setObject method cannot be converted to the specified SQL data type.

KFAA71687-E

R2442

The data cannot be converted to the data type of the table definition because the number of digits of the integer portion of the specified data exceeds the number of digits of the integer portion of the table definition.

KFAA71690-E

R2443

The data is a value that is outside the range of the data type at the conversion destination, or else it is in a format that cannot be converted.

KFAA71691-E

R2444

The data type of the dynamic parameter that corresponds to the specified parameter index cannot be used with this setXXX method.

KFAA71692-E

R2445

The column name specified with the getXXX method of the ResultSet class is invalid.

KFAA71701-E

R2446

The specified column data cannot be acquired with the getString method of the ResultSet class.

KFAA71704-E

R2447

The specified column data cannot be acquired with the getBoolean method of the ResultSet class.

KFAA71705-E

R2448

The specified column data cannot be acquired with the getByte method of the ResultSet class.

KFAA71706-E

R2449

The specified column data cannot be acquired with the getShort method of the ResultSet class.

KFAA71707-E

R2450

The specified column data cannot be acquired with the getInt method of the ResultSet class.

KFAA71708-E

R2451

The specified column data cannot be acquired with the getLong method of the ResultSet class.

KFAA71709-E

R2452

The specified column data cannot be acquired with the getFloat method of the ResultSet class.

KFAA71710-E

R2453

The specified column data cannot be acquired with the getDouble method of the ResultSet class.

KFAA71711-E

R2454

The specified column data cannot be acquired with the getBigDecimal method of the ResultSet class.

KFAA71712-E

R2455

The specified column data cannot be acquired with the getBytes method of the ResultSet class.

KFAA71713-E

R2456

The specified column data cannot be acquired with the getDate method of the ResultSet class.

KFAA71714-E

R2457

The specified column data cannot be acquired with the getTime method of the ResultSet class.

KFAA71715-E

R2458

The specified column data cannot be acquired with the getTimestamp method of the ResultSet class.

KFAA71716-E

R2459

The specified column data cannot be acquired with the getAsciiStream method of the ResultSet class.

KFAA71717-E

R2460

Processing cannot be accepted because the ResultSet instance is already closed.

KFAA71721-E

R2461

The specified column data cannot be acquired with the getCharacterStream method of the ResultSet class.

KFAA71722-E

R2462

The column index specified with the getXXX method of the ResultSet class is invalid.

KFAA71727-E

R2464

Data cannot be acquired with the getXXX method of the ResultSet class used because the data acquired from the database does not match the date data format.

KFAA71730-E

R2465

Data cannot be acquired with the getXXX method of the ResultSet class used because the data acquired from the database does not match the time data format.

KFAA71731-E

R2466

Data cannot be acquired with the getXXX method of the ResultSet class used because the data acquired from the database does not match the time stamp data format.

KFAA71732-E

R2467

Scrolling is not possible because the result set type of this ResultSet object is TYPE_FORWARD_ONLY.

KFAA71733-E

R2468

Zero was specified with the absolute method.

KFAA71735-E

R2469

The cursor is not on a valid row.

KFAA71736-E

R2470

An argument value is invalid.

KFAA71801-E

R2471

An invalid value is specified for an argument of the setLoginTimeout method.

KFAA71903-E

R2472

An invalid character string is specified in the argument of the setEncodeLang method.

KFAA71908-E

R2473

The length of an SQL statement exceeded 16,000,000 characters.

KFAA71223-E

R2474

The specified column data cannot be acquired with the getBinaryStream method of the ResultSet class.

KFAA71719-E

R2475

The data of the specified column cannot be converted to a class of the Java data type specified in the getObject method of the ResultSet class.

KFAA71737-E

R2476

A timeout occurred during execution of an SQL statement because processing to allocate a processing real thread was repeated.

KFAA71570-E

Legend:

--: There is no corresponding message.

Note:

If the SQLSTATE value that is output is not listed above, see ODBC Programmer's Reference in MSDN library.