OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.3.3

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.3.3
    iconOceanBase Database
    SQL - V 4.3.3
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    OBE-01000 to OBE-01499

    Last Updated:2024-12-02 03:48:27  Updated
    Share
    What is on this page
    OBE-01000: maximum open cursors exceeded
    OBE-01001: invalid cursor
    OBE-01002: fetch out of sequence
    OBE-01003: no statement parsed
    OBE-01006: bind variable does not exist
    OBE-01007: variable not in select list", 1007, "variable not in select list
    OBE-01008: not all variables bound
    OBE-01012: not logged on
    OBE-01017: invalid username/password; logon denied
    OBE-01031: insufficient privileges
    OBE-01045: user %.*s lacks CREATE SESSION privilege; logon denied
    OBE-01086: savepoint does not exist
    OBE-01092: OceanBase instance terminated. Disconnection forced
    OBE-01400: cannot insert NULL into '(%.*s)'
    OBE-01400: cannot insert NULL into (%.*s)
    OBE-01402: view WITH CHECK OPTION where-clause violation
    OBE-01403: no data found
    OBE-01405: fetched column value is NULL
    OBE-01408: such column list already indexed
    OBE-01410: invalid ROWID
    OBE-01416: two tables cannot be outer-joined to each other
    OBE-01418: specified index does not exist
    OBE-01422: exact fetch returns more than requested number of rows
    OBE-01424: missing or illegal character following the escape character
    OBE-01425: escape character must be character string of length 1
    OBE-01426: numeric overflow, value larger than specified precision(%ld,%ld) allowed for this column
    OBE-01426: numeric overflow, value(%s) larger than specified precision(%ld,%ld) allowed for this column
    OBE-01426: numeric overflow
    OBE-01427: single-row subquery returns more than one row
    OBE-01427: single-row subquery returns more than one row
    OBE-01428: argument '%ld' is out of range
    OBE-01436: CONNECT BY loop in user data
    OBE-01437: cannot have join with CONNECT BY
    OBE-01438: value larger than specified precision allowed for this column '%.*s' at row %ld
    OBE-01441: cannot decrease column length because some value is too big
    OBE-01442: column to be modified to NOT NULL is already NOT NULL
    OBE-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
    OBE-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc
    OBE-01450: maximum key length (%ld) exceeded
    OBE-01451: column to be modified to NULL cannot be modified to NULL
    OBE-01453: SET TRANSACTION must be first statement of transaction
    OBE-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
    OBE-01463: cannot modify column datatype with current constraint(s)
    OBE-01465: invalid hex number
    OBE-01466: Unable to read data -* Table definition has changed
    OBE-01468: a predicate may reference only one outer-joined table
    OBE-01476: divisor is equal to zero
    OBE-01481: invalid number format model
    OBE-01481: invalid number format model
    OBE-01482: unsupported character set
    OBE-01489: result of string concatenation is too long

    folded

    Share

    Applicability

    This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.

    OBE-01000: maximum open cursors exceeded

    • Error code in OceanBase Database: 5930

    • SQLSTATE: HY000

    • Cause: The maximum number of open cursors allowed is exceeded.

    OBE-01001: invalid cursor

    • Error code in OceanBase Database: 5844

    • SQLSTATE: HY000

    • Cause: The specified cursor is invalid.

    OBE-01002: fetch out of sequence

    • Error code in OceanBase Database: 5931

    • SQLSTATE: HY000

    • Cause: You are attempting 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 OBE-1403 error is returned.

      • The FOR UPDATE clause is used to open the cursor, and then the data is fetched after the COMMIT statement 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 FETCH statement after the retrieval reaches the last line.

      • After you use the FOR UPDATE clause to open the cursor, do not fetch the data after you issue the COMMIT statement.

      • Bind placeholders again, execute the SQL statement, and then fetch the data.

    OBE-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.

    OBE-01006: bind variable does not exist

    • Error code in OceanBase Database: 5979 and 9685

    • SQLSTATE: HY000

    • Cause: The bound variable does not exist.

    • Solution: Bind a defined variable.

    OBE-01007: variable not in select list", 1007, "variable not in select list

    • Error code in OceanBase Database: 9745
    • SQLSTATE: HY000
    • Cause: 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.

    OBE-01008: not all variables bound

    • Error code in OceanBase Database: 5857 and 5978

    • SQLSTATE: HY000

    • Cause: Some variables are not configured.

    OBE-01012: not logged on

    • Error code in OceanBase Database: 5846

    • SQLSTATE: HY000

    • Cause: You have not logged in.

    OBE-01017: invalid username/password; logon denied

    • Error code in OceanBase Database: 5845

    • SQLSTATE: HY000

    • Cause: The username or password is invalid, and the login is denied.

    OBE-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.

    OBE-01045: user %.*s lacks CREATE SESSION privilege; logon denied

    • Error code in OceanBase Database: 5361

    • SQLSTATE: HY000

    • Cause: You are attempting to connect to the database by using a user ID that does not have the CREATE SESSION privilege.

    • Solution: Grant the CREATE SESSION privilege to this user.

    OBE-01086: savepoint does not exist

    • Error code in OceanBase Database: 6242

    • SQLSTATE: 42000

    • Cause: You are attempting 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.

    OBE-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.

    Note

    The exception indicated by this error code will not be captured by the PL exception handling mechanism in this version.

    OBE-01400: cannot insert NULL into '(%.*s)'

    • Error code in OceanBase Database: 4235

    • SQLSTATE: 23000

    • Cause: You are attempting to insert a NULL value to the listed objects that do not accept the NULL value.

    OBE-01400: cannot insert NULL into (%.*s)

    • Error code in OceanBase Database: 5030

    • SQLSTATE: 42000

    • Cause: You are attempting to insert a NULL value to existing objects that do not accept the NULL value.

    OBE-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 OPTION constraint on the view.

    • Solution: The data inserted into the view by using the INSERT statement or the data updated by using the UPDATE statement must meet the WHERE condition in the view definition.

    Note

    This error code is introduced since OceanBase Database V4.0.0.

    OBE-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.

    OBE-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_count was set to NULL.

    • Solution: Do not set elem_count to NULL.

    Note

    This error code is introduced since OceanBase Database V4.0.0.

    OBE-01408: such column list already indexed

    • Error code in OceanBase Database: 5672

    • SQLSTATE: HY000

    • Cause: This type of list is already indexed.

    OBE-01410: invalid ROWID

    • Error code in OceanBase Database: 5802

    • SQLSTATE: HY000

    • Cause: The ROWID value is invalid.

    OBE-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.

    OBE-01418: specified index does not exist

    • Error code in OceanBase Database: 5209

    • SQLSTATE: 42000

    • Cause: The specified index does not exist.

    OBE-01422: exact fetch returns more than requested number of rows

    • Error code in OceanBase Database: 5294

    • SQLSTATE: 42000

    • Cause: The quantity specified in exact fetch is less than the number of returned rows.

    • Solution: Rewrite the query or change the number of requested rows.

    OBE-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.

    OBE-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.

    OBE-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.

    OBE-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.

    OBE-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.

    OBE-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.

    OBE-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.

    OBE-01428: argument '%ld' is out of range

    • Error code in OceanBase Database: 5674

    • SQLSTATE: HY000

    • Cause: The argument is out of range.

    OBE-01436: CONNECT BY loop in user data

    • Error code in OceanBase Database: 5764

    • SQLSTATE: HY000

    • Cause: A CONNECT BY loop exists in the user data.

    OBE-01437: cannot have join with CONNECT BY

    • Error code in OceanBase Database: 5765

    • SQLSTATE: HY000

    • Cause: A join with CONNECT BY is not allowed.

    OBE-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 MODIFY option of the ALTER TABLE command to extend the column precision.

    OBE-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.

    OBE-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 NULL already has the NOT NULL attribute.

    OBE-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 ROWID from a join view or a sample without key-preserved table.

    OBE-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc

    • Error code in OceanBase Database: 5903

    • SQLSTATE: HY000

    • Cause: The ROWID cannot be queried from a view with the DISTINCT or GROUP BY clause.

    OBE-01450: maximum key length (%ld) exceeded

    • Error code in OceanBase Database: 5196

    • SQLSTATE: 42000

    • Cause: The maximum key length is exceeded.

    OBE-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 NULL values, and the NOT NULL constraint is part of the primary key or CHECK constraint.

    • Solution: If the primary key or CHECK constraint forcibly enables the NOT NULL constraint, delete the constraint.

    OBE-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.

    OBE-01456: may not perform insert/delete/update operation inside a READ ONLY transaction

    • Error code in OceanBase Database: 5220 and 6226

    • SQLSTATE: 25006

    • Cause: You are attempting to perform an INSERT, DELETE, or UPDATE operation in a read-only transaction.

    • Solution: Commit or roll back the transaction and then try again.

    OBE-01463: cannot modify column datatype with current constraint(s)

    • Error code in OceanBase Database: 5860

    • SQLSTATE: HY000

    • Cause: You are attempting to modify the data type of a column with the CHECK constraint. However, the data type of the column constrained by the CHECK constraint can be changed only from CHAR to VARCHAR.

    • Solution: Delete the constraint or do not perform the operation.

    OBE-01465: invalid hex number

    • Error code in OceanBase Database: 5342

    • SQLSTATE: HY000

    • Cause: The hexadecimal number is invalid.

    OBE-01466: Unable to read data -* Table definition has changed

    • Error code in OceanBase Database: 5386
    • SQLSTATE: HY000
    • Cause: The snapshot is too old to be correctly read or parsed because the table definition has changed.
    • Solution: Check whether a column is added or deleted, or whether the data type or length is modified, and perform troubleshooting based on the actual situation.

    Note

    This error code is introduced since OceanBase Database V4.2.0.

    OBE-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.

    OBE-01476: divisor is equal to zero

    • Error code in OceanBase Database: 4333

    • SQLSTATE: HY000

    • Cause: The divisor is 0.

    OBE-01481: invalid number format model

    • Error code in OceanBase Database: 5606

    • SQLSTATE: 42000

    • Cause: You are attempting to convert a number into a string through TO_CHAR or convert a string into a number through TO_NUMBER by using an invalid number format.

    • Solution: For more information, see Overview.

    OBE-01481: invalid number format model

    • Error code in OceanBase Database: 5608

    • SQLSTATE: 42000

    • Cause: You are attempting to convert a number into a string through TO_CHAR or convert a string into a number through TO_NUMBER by using an invalid number format.

    • Solution: For more information, see Overview.

    OBE-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.

    OBE-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: Make sure that the result of string concatenation does not exceed the maximum value.

    Previous topic

    OBE-00000 to OBE-00999
    Last

    Next topic

    OBE-01500 to OBE-01999
    Next
    What is on this page
    OBE-01000: maximum open cursors exceeded
    OBE-01001: invalid cursor
    OBE-01002: fetch out of sequence
    OBE-01003: no statement parsed
    OBE-01006: bind variable does not exist
    OBE-01007: variable not in select list", 1007, "variable not in select list
    OBE-01008: not all variables bound
    OBE-01012: not logged on
    OBE-01017: invalid username/password; logon denied
    OBE-01031: insufficient privileges
    OBE-01045: user %.*s lacks CREATE SESSION privilege; logon denied
    OBE-01086: savepoint does not exist
    OBE-01092: OceanBase instance terminated. Disconnection forced
    OBE-01400: cannot insert NULL into '(%.*s)'
    OBE-01400: cannot insert NULL into (%.*s)
    OBE-01402: view WITH CHECK OPTION where-clause violation
    OBE-01403: no data found
    OBE-01405: fetched column value is NULL
    OBE-01408: such column list already indexed
    OBE-01410: invalid ROWID
    OBE-01416: two tables cannot be outer-joined to each other
    OBE-01418: specified index does not exist
    OBE-01422: exact fetch returns more than requested number of rows
    OBE-01424: missing or illegal character following the escape character
    OBE-01425: escape character must be character string of length 1
    OBE-01426: numeric overflow, value larger than specified precision(%ld,%ld) allowed for this column
    OBE-01426: numeric overflow, value(%s) larger than specified precision(%ld,%ld) allowed for this column
    OBE-01426: numeric overflow
    OBE-01427: single-row subquery returns more than one row
    OBE-01427: single-row subquery returns more than one row
    OBE-01428: argument '%ld' is out of range
    OBE-01436: CONNECT BY loop in user data
    OBE-01437: cannot have join with CONNECT BY
    OBE-01438: value larger than specified precision allowed for this column '%.*s' at row %ld
    OBE-01441: cannot decrease column length because some value is too big
    OBE-01442: column to be modified to NOT NULL is already NOT NULL
    OBE-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
    OBE-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc
    OBE-01450: maximum key length (%ld) exceeded
    OBE-01451: column to be modified to NULL cannot be modified to NULL
    OBE-01453: SET TRANSACTION must be first statement of transaction
    OBE-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
    OBE-01463: cannot modify column datatype with current constraint(s)
    OBE-01465: invalid hex number
    OBE-01466: Unable to read data -* Table definition has changed
    OBE-01468: a predicate may reference only one outer-joined table
    OBE-01476: divisor is equal to zero
    OBE-01481: invalid number format model
    OBE-01481: invalid number format model
    OBE-01482: unsupported character set
    OBE-01489: result of string concatenation is too long