Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.
ORA-01000: maximum open cursors exceeded
Error code in OceanBase Database: 5930
SQLSTATE: HY000
Cause: The maximum number of open cursors allowed is exceeded.
ORA-01001: invalid cursor
Error code in OceanBase Database: 5844
SQLSTATE: HY000
Cause: The cursor is invalid.
ORA-01002: fetch out of sequence
Error code in OceanBase Database: 5931
SQLSTATE: HY000
Cause: The operation attempted to fetch data from an invalid cursor. Possible causes:
The data is fetched from the cursor after the retrieval reaches the last line and the
ORA-1403error is returned.The
FOR UPDATEclause is used to open the cursor, and then the data is fetched after theCOMMITstatement is issued.All placeholders in the SQL statement are re-bound, and the data is fetched before the statement is re-executed.
Note
This error can also occur if a PL cursor is circularly and implicitly fetched.
Solution:
Do not issue the
FETCHstatement after the retrieval reaches the last line.After you use the
FOR UPDATEclause to open the cursor, do not fetch the data after you issue theCOMMITstatement.Bind placeholders again, execute the SQL statement, and then fetch the data.
ORA-01003: no statement parsed
Error code in OceanBase Database: 9678
SQLSTATE: HY000
Cause: DBMS_SQL PARSE attempts to parse a DDL statement.
Solution: Change the type of the statement to be parsed by DBMS_SQL PARSE to
SELECT.
Note
This error code is introduced since OceanBase Database V4.0.0.
ORA-01006: bind variable does not exist
Error codes in OceanBase Database: 5979 and 9685
SQLSTATE: HY000
Cause: The bound variable does not exist.
Solution: Bind a defined variable.
ORA-01007: variable not in select list", 1007, "variable not in select list
- Error code in OceanBase Database: 9745
- SQLSTATE: HY000
- Description: The variable is not in the selection list.
- Solution: Check whether the entered SQL statement is correct.
Note
This error code is introduced since OceanBase Database V4.1.0.
ORA-01008: not all variables bound
Error codes in OceanBase Database: 5857 and 5978
SQLSTATE: HY000
Cause: Some variables are not configured.
ORA-01012: not logged on
Error code in OceanBase Database: 5846
SQLSTATE: HY000
Cause: You are not logged on.
ORA-01017: invalid username/password; logon denied
Error code in OceanBase Database: 5845
SQLSTATE: HY000
Cause: The username or password is invalid, and the logon is denied.
ORA-01031: insufficient privileges
Error code in OceanBase Database: 5360
SQLSTATE: HY000
Cause: You do not have the required privileges to perform the database operations.
Solution: Contact the database administrator or specified security administrator to grant you the required privileges.
ORA-01045: user %.*s lacks CREATE SESSION privilege; logon denied
Error code in OceanBase Database: 5361
SQLSTATE: HY000
Cause: You attempted to connect to the database by using a user ID that does not have the
CREATE SESSIONprivilege.Solution: Grant the
CREATE SESSIONprivilege to this user.
ORA-01086: savepoint does not exist
Error code in OceanBase Database: 6242
SQLSTATE: 42000
Cause: You attempted to roll back to an invalid savepoint or a nonexistent savepoint in this session.
Solution: Roll back to a savepoint from the session where this savepoint is created.
ORA-01092: OceanBase instance terminated. Disconnection forced
Error code in OceanBase Database: 5066
SQLSTATE: HY000
Cause: The session to which this process connects is abnormally terminated.
Solution: Check the alert logs for details. Then, restart the session.
ORA-01400: cannot insert NULL into '(%.*s)'
Error code in OceanBase Database: 4235
SQLSTATE: 23000
Cause: You attempted to insert a
NULLvalue to the listed objects that do not accept theNULLvalue.
ORA-01400: cannot insert NULL into (%.*s)
Error code in OceanBase Database: 5030
SQLSTATE: 42000
Cause: You attempted to insert a
NULLvalue to existing objects that do not accept theNULLvalue.
ORA-01402: view WITH CHECK OPTION where-clause violation
Error code in OceanBase Database: 5971
SQLSTATE: HY000
Cause: The DML operation performed on the view violated the
WITH CHECK OPTIONconstraint on the view.Solution: The data inserted into the view by using the
INSERTstatement or the data updated by using theUPDATEstatement must meet thewherecondition in the view definition.
Note
This error code is introduced since OceanBase Database V4.0.0.
ORA-01403: no data found
Error code in OceanBase Database: 4026
SQLSTATE: 02000
Cause: No data can be found in the object.
Solution: If data extraction ends, no data from the object can be found, which is normal. In this case, you do not need to take any action.
ORA-01405: fetched column value is NULL
Error code in OceanBase Database: 5958
SQLSTATE: HY000
Cause: In a call to the ANYTYPE SETINFO stored procedure,
elem_countwas set toNULL.Solution: Do not set
elem_counttoNULL.
Note
This error code is introduced since OceanBase Database V4.0.0.
ORA-01408: such column list already indexed
Error code in OceanBase Database: 5672
SQLSTATE: HY000
Cause: This type of list is already indexed.
ORA-01410: invalid ROWID
Error code in OceanBase Database: 5802
SQLSTATE: HY000
Cause: The
ROWIDis invalid.
ORA-01416: two tables cannot be outer-joined to each other
Error code in OceanBase Database: 5620
SQLSTATE: HY000
Cause: Two tables are outer-joined, which is not allowed.
ORA-01418: specified index does not exist
Error code in OceanBase Database: 5209
SQLSTATE: 42000
Cause: The specified index does not exist.
ORA-01422: exact fetch returns more than requested number of rows
Error code in OceanBase Database: 5294
SQLSTATE: 42000
Cause: The quantity specified in
exact fetchis less than the number of returned rows.Solution: Rewrite the query or change the number of requested rows.
ORA-01424: missing or illegal character following the escape character
Error code in OceanBase Database: 5665
SQLSTATE: HY000
Cause: In LIKE mode, the character following the escape character is missing or is not a percent sign (%) or an underscore (_).
Solution: Delete the escape character or specify a valid character following the escape character.
ORA-01425: escape character must be character string of length 1
Error code in OceanBase Database: 5666
SQLSTATE: HY000
Cause: In LIKE mode, the escape character is not a string whose length is 1.
Solution: Change it to a string whose length is 1.
ORA-01426: numeric overflow, value larger than specified precision(%ld,%ld) allowed for this column
Error code in OceanBase Database: 5088
SQLSTATE: 22003
Cause: The calculation of the value expression causes an overflow or an underflow.
Solution: Reduce the operands.
ORA-01426: numeric overflow, value(%s) larger than specified precision(%ld,%ld) allowed for this column
Error code in OceanBase Database: 5089
SQLSTATE: 22003
Cause: The calculation of the value expression causes an overflow or an underflow.
Solution: Reduce the operands.
ORA-01426: numeric overflow
Error code in OceanBase Database: 5093
SQLSTATE: 22003
Cause: The calculation of the value expression causes an overflow or an underflow.
Solution: Reduce the operands.
ORA-01427: single-row subquery returns more than one row
Error code in OceanBase Database: 5615
SQLSTATE: HY000
Cause: Multiple rows are returned for a single-row subquery.
ORA-01427: single-row subquery returns more than one row
Error code in OceanBase Database: 5153
SQLSTATE: 21000
Cause: Multiple rows are returned for a single-row subquery.
ORA-01428: argument '%ld' is out of range
Error code in OceanBase Database: 5674
SQLSTATE: HY000
Cause: The argument is out of range.
ORA-01436: CONNECT BY loop in user data
Error code in OceanBase Database: 5764
SQL STATE: HY000
Cause: A
CONNECT BYloop exists in the user data.
ORA-01437: cannot have join with CONNECT BY
Error code in OceanBase Database: 5765
SQLSTATE: HY000
Cause: A join with
CONNECT BYis not allowed.
ORA-01438: value larger than specified precision allowed for this column '%.*s' at row %ld
Error code in OceanBase Database: 4224
SQLSTATE: 22003
Cause: When a record is inserted or updated, the entered value exceeds the precision of this column.
Solution: Enter a value within the precision of the numeric column, or use the
MODIFYoption of theALTER TABLEcommand to extend the column precision.
ORA-01441: cannot decrease column length because some value is too big
Error code in OceanBase Database: 5897
SQLSTATE: HY000
Cause: The column length cannot be decreased due to big values.
ORA-01442: column to be modified to NOT NULL is already NOT NULL
Error code in OceanBase Database: 5849
SQLSTATE: HY000
Cause: The column to be set to
NOT NULLalready has theNOT NULLattribute.
ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
Error code in OceanBase Database: 5902
SQLSTATE: HY000
Cause: You cannot query
ROWIDfrom a join view or a sample withoutkey-preserved table.
ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc
Error code in OceanBase Database: 5903
SQLSTATE: HY000
Cause: The
ROWIDcannot be queried from a view with theDISTINCTorGROUP BYclause.
ORA-01450: maximum key length (%ld) exceeded
Error code in OceanBase Database: 5196
SQLSTATE: 42000
Cause: The maximum key length is exceeded.
ORA-01451: column to be modified to NULL cannot be modified to NULL
Error code in OceanBase Database: 5850
SQLSTATE: HY000
Cause: The column already allows
NULLvalues, and theNOT NULLconstraint is part of the primary key orCHECKconstraint.Solution: If the primary key or
CHECKconstraint forcibly enables theNOT NULLconstraint, delete the constraint.
ORA-01453: SET TRANSACTION must be first statement of transaction
Error code in OceanBase Database: 5219
SQLSTATE: 25001
Cause: You cannot modify the characteristics of an ongoing transaction.
Solution: Commit or roll back the transaction and then modify it.
ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
Error codes in OceanBase Database: 5220 and 6226
SQLSTATE: 25006
Cause: You attempted to perform an INSERT, DELETE, or UPDATE operation in a read-only transaction.
Solution: Commit or roll back the transaction and then try again.
ORA-01463: cannot modify column datatype with current constraint(s)
Error code in OceanBase Database: 5860
SQLSTATE: HY000
Cause: You attempted to modify the data type of a column with the
CHECKconstraint. However, the data type of the column constrained by theCHECKconstraint can be changed only fromCHARtoVARCHAR.Solution: Delete the constraint or do not perform the operation.
ORA-01465: invalid hex number
Error code in OceanBase Database: 5342
SQLSTATE: HY000
Cause: The hexadecimal number is invalid.
ORA-01468: a predicate may reference only one outer-joined table
Error code in OceanBase Database: 5621
SQLSTATE: HY000
Cause: A predicate can reference only one outer-joined table.
ORA-01476: divisor is equal to zero
Error code in OceanBase Database: 4333
SQLSTATE: HY000
Cause: The divisor is 0.
ORA-01481: invalid number format model
Error code in OceanBase Database: 5606
SQLSTATE: 42000
Cause: You attempted to convert a number into a string through
TO_CHARor convert a string into a number throughTO_NUMBERby using an invalid number format.
ORA-01481: invalid number format model
Error code in OceanBase Database: 5608
SQLSTATE: 42000
Cause: You attempted to convert a number into a string through
TO_CHARor convert a string into a number throughTO_NUMBERby using an invalid number format.
ORA-01482: unsupported character set
Error code in OceanBase Database: 5937
SQLSTATE: 42000
Cause: The character set used for the operation is not supported.
Solution: Use a supported character set.
ORA-01489: result of string concatenation is too long
Error code in OceanBase Database: 5348
SQLSTATE: HY000
Cause: The result of string concatenation exceeds the maximum value.
Solution: Ensure that the result of string concatenation does not exceed the maximum value.