Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
OBE-30002: SYS_CONNECT_BY_PATH function is not allowed here
Error code in OceanBase Database: 5768
SQLSTATE: HY000
Cause: The
SYS_CONNECT_BY_PATHfunction is called beyond theSELECTlist andORDER BYclause.Solution: Delete the calls of the
SYS_CONNECT_BY_PATHfunction except those in theSELECTlist andORDER BYclause.
OBE-30003: illegal parameter in SYS_CONNECT_BY_PATH function
Error code in OceanBase Database: 5769
SQLSTATE: HY000
Cause: The
SYS_CONNECT_BY_PATHfunction contains invalid arguments.
OBE-30003: illegal parameter in SYS_CONNECT_BY_PATH function
Error code in OceanBase Database: 5927
SQLSTATE: HY000
Cause: The
SYS_CONNECT_BY_PATHfunction contains invalid arguments.
OBE-30004: A column value contained the string that the SYS_CONNECT_BY_PATH function was to use to separate column values
Error code in OceanBase Database: 5770
SQLSTATE: HY000
Cause: The string used by the
SYS_CONNECT_BY_PATHfunction to separate column values is included in a column value.Solution: Specify another separator that is not included in any column value for the
SYS_CONNECT_BY_PATHfunction, and try again.
OBE-30005: missing or invalid WAIT interval
- Error code in OceanBase Database: 5495
- SQLSTATE: HY000
- Cause: When you run the
WAITcommand, the specified wait time parameter is invalid or missing. - Solution: Check the syntax of the
WAITcommand and make sure that the wait time parameter is correctly specified.
Note
This error code is introduced since OceanBase Database V4.2.0.
OBE-30006: resource busy; acquire with WAIT timeout expired
Error code in OceanBase Database: 6003
SQLSTATE: HY000
Cause: The requested resource is busy.
Solution: Try again later.
OBE-30007: CONNECT BY ROOT operator is not supported in the START WITH or in the CONNECT BY condition
Error code in OceanBase Database: 5771
SQLSTATE: HY000
Cause: You are attempting to use the
CONNECT BY ROOToperator in theSTART WITHorCONNECT BYcondition.Solution: Delete the
CONNECT BY ROOToperator from theSTART WITHorCONNECT BYcondition.
OBE-30009: Not enough memory for CONNECT BY operation
Error code in OceanBase Database: 5926
SQLSTATE: HY000
Cause: On an engine of the current version, an error is returned if the recursion depth exceeds 2^30. On an engine of an earlier version, an error is returned if the total number of nodes on the path from the root node to the current node, including the subnodes, exceeds a specific value (2^30). The current recursion depth limit is fixed and suitable in general cases.
Solution: No solution is available now. The issue cannot be resolved by simply increasing the memory size. However, you can reduce the recursion levels or the data amount to work around this issue.
OBE-30076: invalid extract field for extract source
Error code in OceanBase Database: 5686
SQLSTATE: HY000
Cause: The data extraction source does not contain the specified data extraction field.
OBE-30078: partition bound must be TIME/TIMESTAMP WITH TIME ZONE literals
Error code in OceanBase Database: 5349
SQLSTATE: HY000
Cause: The
TIMEorTIMESTAMPcolumn does not containTIME ZONE.Solution: Use the
TIMEorTIMESTAMPformat withTIME ZONE.
OBE-30084: invalid data type for datetime primary with time zone modifier
Error code in OceanBase Database: 5950
SQLSTATE: HY000
Cause: If a time zone modifier is specified, the value of the
datetimeparameter must be of theTIME,TIME WITH TIME ZONE,TIMESTAMP, orTIMESTAMP WITH TIME ZONEtype.
OBE-30088: datetime/interval precision is out of range
Error code in OceanBase Database: 5605
SQLSTATE: HY000
Cause: The specified datetime or interval precision is not within the range of 0 to 9.
Solution: Make sure that the datetime or interval precision is within the range of 0 to 9.
OBE-30175: invalid type given for an argument
Error code in OceanBase Database: 5351
SQLSTATE: HY000
Cause: The argument list contains arguments of invalid types.
Solution: Use correct data types for arguments.
OBE-30186: '\\' must be followed byfour hexidecimal characters or another '\\'
Error code in OceanBase Database: 5938
SQLSTATE: HY000
Cause: In the argument of the SQL function
UNISTR, a pair of double backslashes (\\) must be followed by four hexadecimal characters or another pair of double backslashes (\\).Solution: Correct the string format.
OBE-30205: invalid Character set
Error code in OceanBase Database: 5969
SQLSTATE: HY000
Cause: The specified character set is invalid.
Solution: Check whether the character set ID is valid.
Note
This error code is introduced since OceanBase Database V4.0.0.
OBE-30481: GROUPING function only supported with GROUP BY CUBE or ROLLUP
- Error code in OceanBase Database: 5501
- SQLSTATE: 42000
- Cause: The
GROUPINGfunction is supported only in theGROUP BY CUBEorROLLUPstatement. - Solution: Use the
GROUPINGfunction only in theGROUP BY CUBEorROLLUPstatement.
Note
This error code is introduced since OceanBase Database V4.2.1.
OBE-30482: DISTINCT not allowed here
Error code in OceanBase Database: 5798
SQLSTATE: HY000
Cause: The
DISTINCToption is not allowed in the function.
OBE-30485: missing ORDER BY expression in the window specification
Error code in OceanBase Database: 5300
SQLSTATE: HY000
Cause: The
ORDER BYexpression is missing from the window function or aggregation group.
OBE-30487: ORDER BY not allowed here
Error code in OceanBase Database: 5797
SQLSTATE: HY000
Cause: The
ORDER BYexpression is not allowed in theDISTINCTfunction orRATIO_TO_REPORT.
OBE-30488: argument should be a function of expressions in PARTITION BY
Error code in OceanBase Database: 5347
SQLSTATE: HY000
Cause: The argument of the window function must be a constant for a partition.
OBE-30493: The percentile value should be a number between 0 and 1
Error code in OceanBase Database: 5861
SQLSTATE: HY000
Cause: The percentile value specified for the
PERCENTILE_CONTorPERCENTILE_DISCfunction is not within the valid range.Solution: Specify a value within the range of [0,1].
OBE-30494: The argument [%s] of WIDTH_BUCKET function is NULL or invalid
Error code in OceanBase Database: 5925
SQLSTATE: HY000
Cause: The
[%s]argument of theWIDTH_BUCKETfunction isNULLor invalid.
OBE-30495: The argument should be of numeric or date/datetime type
Error code in OceanBase Database: 5862
SQLSTATE: HY000
Cause: The argument must be of the numeric or date/datetime type.
OBE-30496: Argument should be a constant
Error code in OceanBase Database: 5852
SQLSTATE: HY000
Cause: The argument value is not a constant.
OBE-30497: Argument should be a constant or a function of expressions in GROUP BY
Error code in OceanBase Database: 11010
SQLSTATE: HY000
Cause: The delimiter for the
LISTAGGaggregate function can only be a constant or aGROUP BYexpression.Solution: Check whether the delimiter for the
LISTAGGaggregate function is correct.
Note
This error code is introduced since OceanBase Database V4.3.0.
OBE-30553: The function is not deterministic
Error code in OceanBase Database: 5996
SQLSTATE: HY000
Cause: The function on which the index is defined is not deterministic.
Solution: If the function is deterministic, mark it DETERMINISTIC. If it is not deterministic (which depends on the package state, database state, current time, or anything other than the function inputs), do not create the index. You should never change the values returned by a deterministic function even when the function is rewritten or recompiled.
OBE-30562: SAMPLE percentage must be in the range [0.000001,100)
Error code in OceanBase Database: 5730
SQLSTATE: HY000
Cause: The SAMPLE percentage should be within the range of [0.000001,100).
OBE-30563: outer join operator (+) is not allowed here
Error code in OceanBase Database: 5626
SQLSTATE: HY000
Cause: You are attempting to reference
+in theSELECT_LISTfunction or theCONNECT BY,START WITH, orORDER BYclause.Solution: Do not use operators in the
SELECT_LISTfunction or theCONNECT BY,START WITH, orORDER BYclause.
OBE-30625: method dispatch on NULL SELF argument is disallowed
Error code in OceanBase Database: 5847
SQLSTATE: HY000
Cause: A
MEMBERmethod is called by theNULL SELFargument.Solution: Change the method call type so that a valid
SELFargument is passed.
OBE-30665: invalid NOT NULL constraint specified on a DEFAULT ON NULL column
Error code in OceanBase Database: 5949
SQLSTATE: HY000
Cause: The
NOT NULLconstraint is not correctly specified on theDEFAULT ON NULLcolumn.Solution: If the
NOT NULLconstraint is specified on theDEFAULT ON NULLcolumn, enable the constraint, which must be non-deferrable.
OBE-30669: table can have only one identity column
Error code in OceanBase Database: 5909
SQLSTATE: HY000
Cause: You are attempting to specify multiple identity columns for a table.
Solution: Specify only one identity column for each table.
OBE-30670: invalid NOT NULL constraint specified on an identity column
Error code in OceanBase Database: 5910
SQLSTATE: HY000
Cause: The
NOT NULLconstraint is not properly specified on theidentitycolumn.Solution: If the
NOT NULLconstraint is specified for theidentitycolumn, enable the constraint, which must be non-deferrable.
OBE-30671: cannot modify NOT NULL constraint on an identity column
Error code in OceanBase Database: 5911
SQLSTATE: HY000
Cause: The
NOT NULLconstraint on the identity column cannot be modified.Solution: Do not modify the
NOT NULLconstraint on an identity column.
OBE-30672: cannot drop NOT NULL constraint on an identity column
Error code in OceanBase Database: 5912
SQLSTATE: HY000
Cause: The
NOT NULLconstraint on the identity column cannot be deleted.Solution: Do not delete the
NOT NULLconstraint from the identity column. To delete the constraint, call theDROP IDENTITYoperation in theALTER TABLE MODIFYstatement to delete theidentityattribute of the column.
OBE-30673: column to be modified is not an identity column
Error code in OceanBase Database: 5913
SQLSTATE: HY000
Cause: You are attempting to modify the identity attribute of a non-identity column.
Solution: Modify the identity attribute of only an identity column.
OBE-30674: identity column cannot have a default value
Error code in OceanBase Database: 5914
SQLSTATE: HY000
Cause: You are attempting to add a default value to an identity column.
Solution: Do not specify a default value for an identity column.
OBE-30675: identity column must be a numeric type
Error code in OceanBase Database: 5915
SQLSTATE: HY000
Cause: You are attempting to create non-numeric values for an identity column or change the values of an identity column into non-numeric values.
Solution: Do not assign a non-numeric data type to an identity column.
OBE-30926: unable to get a stable set of rows in the source tables
Error code in OceanBase Database: 30926
SQLSTATE: HY000
Cause: A stable set of rows cannot be obtained due to a large DML activity or a non-deterministic
WHEREclause.Solution: Delete the non-deterministic
WHEREclause and re-execute the DML statement.
OBE-30929: ORDER SIBLINGS BY clause not allowed here
Error code in OceanBase Database: 5325
SQLSTATE: HY000
Cause: The specified query with the
ORDER SIBLINGS BYclause does not contain theCONNECT BYclause.Solution: Delete the
ORDER SIBLINGS BYclause or add theCONNECT BYclause to the query.
OBE-30929: ORDER SIBLINGS BY clause not allowed here
- Error code in OceanBase Database: 5451
- SQLSTATE: 42000
- Cause: The
ORDER SIBLINGS BYclause is specified in a query that does not have aCONNECT BYclause. - Solution: Remove the
ORDER SIBLINGS BYclause or add aCONNECT BYclause.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-30929: ORDER SIBLINGS BY clause not allowed here
Error code in OceanBase Database: 5772
SQLSTATE: HY000
Cause: The specified query with the
ORDER SIBLINGS BYclause does not contain theCONNECT BYclause.Solution: Delete the
ORDER SIBLINGS BYclause or add theCONNECT BYclause to the query.
OBE-30930: NOCYCLE keyword is required with CONNECT_BY_ISCYCLE pseudo column
Error code in OceanBase Database: 5773
SQLSTATE: HY000
Cause:
CONNECT_BY_ISCYCLEis specified in a query, but this query does not contain theNOCYCLEkeyword.Solution: Delete
CONNECT_BY_ISCYCLEfrom the query or add theNOCYCLEkeyword to the query.
OBE-30980: Invalid Input
- Error code in OceanBase Database: 5462
- SQLSTATE: 42000
- Cause: The type conversion failed due to invalid input.
- Solution: Enter data of the correct type.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-31003: Parent %.*s already contains child entry %.*s
Error code in OceanBase Database: 7433
SQLSTATE: 42000
Cause: You are attempting to insert a duplicate child entry into the XDB hierarchical resolver.
Solution: Insert a unique name into the container.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-31011: XML parsing failed
Error code in OceanBase Database: 9549
SQLSTATE: HY000
Cause: The XML parser returns an error when it parses a document.
Solution: Check whether the document to be parsed is valid.
Note
This error code is introduced since OceanBase Database V3.2.4.
OBE-31012: Given XPATH expression not supported
- Error code in OceanBase Database: 7409
- SQLSTATE: 42000
- Cause: The specified XPath expression is not supported.
- Solution: Make sure that the specified XPath expression is valid and is supported by the current database version.
Note
This error code is introduced since OceanBase Database V4.2.0.
OBE-31013: invalid xpath expression
- Error code in OceanBase Database: 7404
- SQLSTATE: 42000
- Cause: The format of the XPath expression is incorrect or invalid.
- Solution: Make sure that the XPath expression and XML data are correct.
Note
This error code is introduced since OceanBase Database V4.2.0.
OBE-31056: The document being inserted does not conform to specified child name
Error code in OceanBase Database: 7429
SQLSTATE: 42000
Cause: The inserted XML element does not conform to the registered XML schema identified by the URL.
Solution: Insert elements that conform to the specified XML schema.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-31067: XML nodes must be updated with valid nodes and of the same type
- Error code in OceanBase Database: 7418
- SQLSTATE: 42000
- Cause: An invalid XML node or node type is used in the update.
- Solution: Make sure that the new node type matches the node type before the update.
Note
This error code is introduced since OceanBase Database V4.2.0.
OBE-31188: The specified printing option is invalid
- Error code in OceanBase Database: 7407
- SQLSTATE: 42000
- Cause: The specified printing option is invalid.
- Solution: Make sure that the specified printing option is valid.
Note
This error code is introduced since OceanBase Database V4.2.0.
OBE-31195: XML node '' (type=%s) does not support this operation
Error code in OceanBase Database: 7430
SQLSTATE: 42000
Cause: This operation is not supported for the type of the given node. For example, you cannot add a subnode to an attribute node or pass in a document node as a subnode.
Solution: Perform the operation on a node of a proper type.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-31600: invalid input value %.*s for parameter %.*s in function %.*s
Error code in OceanBase Database: 9504
SQLSTATE: HY000
Cause: The input parameter value is
NULLor invalid.Solution: Specify a valid value and call the function again.
OBE-31603: object '%.*s' of type %.*s not found in schema '%.*s'
Error code in OceanBase Database: 9503
SQLSTATE: HY000
Cause: The specified object cannot be found in the database.
Solution: Modify the object configuration and try again.
OBE-32021: parameter value longer than %d characters
Error code in OceanBase Database: 5939
SQLSTATE: HY000
Cause: The parameter value exceeds the maximum length, or one of the parameter values in the parameter list exceeds the maximum value.
Solution: Reduce the length of the parameter value and try again. For the
DISPATCHERSparameter, use a listener alias to reduce the value length.
OBE-32031: illegal reference of a query name in WITH clause
Error code in OceanBase Database: 5737
SQLSTATE: HY000
Cause: Forward or recursive reference of a query name in the
WITHclause is not allowed.Solution: Modify the query statement and try again.
OBE-32033: unsupported column aliasing
Error code in OceanBase Database: 5738
SQLSTATE: HY000
Cause: The
WITHclause does not support column aliases.Solution: Specify an alias in the definition subquery and try again.
OBE-32034: unsupported use of WITH clause
Error code in OceanBase Database: 5739
SQLSTATE: HY000
Cause: The
WITHclause is used improperly in either of the following ways:A
WITHclause is nested in anotherWITHclause.In a set query, a
WITHclause is specified for branches.
Solution: Modify the query and try again.
OBE-32038: number of WITH clause column names does not match number of elements in select list
Error code in OceanBase Database: 5740
SQLSTATE: HY000
Cause: A column alias or name list is specified for a
WITHquery name, but the number of elements in the list does not match the number of elements in theSELECTlist of the definition query.Solution: Update the column alias list or
SELECTlist to ensure that they have the same number of elements.
OBE-32039: recursive WITH clause must have column alias list
Error code in OceanBase Database: 5741
SQLSTATE: HY000
Cause: A
WITHquery recursively references itself, but no column alias list is specified for this query.Solution: Add a column alias list for the
WITHquery name.
OBE-32040: recursive WITH clause must use a UNION ALL operation
Error code in OceanBase Database: 5742
SQLSTATE: HY000
Cause: A
WITHquery recursively references itself, but theUNION ALLoperation is not used in the definition query.Solution: Rewrite the recursive
WITHquery so that theUNION ALLoperation is used.
OBE-32041: UNION ALL operation in recursive WITH clause must have only two branches
Error code in OceanBase Database: 5743
SQLSTATE: HY000
Cause: A
WITHquery recursively references itself but uses aUNION ALLoperation with more than two branches, which is not supported.Solution: Rewrite the recursive
WITHquery so that it uses only two branches in theUNION ALLoperation.
OBE-32042: recursive WITH clause must reference itself directly in one of the UNION ALL branches
Error code in OceanBase Database: 5744
SQLSTATE: HY000
Cause: A
WITHquery recursively references itself indirectly. For example, it does so by using a subquery or view.Solution: Rewrite the recursive
WITHquery so that it directly references itself in theFROMclause of a branch of theUNION ALLoperation.
OBE-32043: recursive WITH clause needs an initialization branch
Error code in OceanBase Database: 5745
SQLSTATE: HY000
Cause: A
WITHquery recursively references itself, but an initial branch that does not reference itself is absent in theUNION ALLoperation.Solution: Rewrite the
WITHquery by adding an initial branch that does not reference itself to theUNION ALLoperation.
OBE-32044: cycle detected while executing recursive WITH query
Error code in OceanBase Database: 5746
SQLSTATE: HY000
Cause: A recursive
WITHquery forms a cycle, and the system stops this query to avoid an infinite cycle.Solution: Rewrite the recursive
WITHquery to stop the recursion, or use theCYCLEclause in the query.
OBE-32045: maximum level of recursion reached while executing recursive WITH query
Error code in OceanBase Database: 5747
SQLSTATE: HY000
Cause: A recursive
WITHquery reaches the specified maximum recursion level and stops.Solution: Increase the maximum recursion level or use the
CYCLEclause.
OBE-32046: sequence column name for SEARCH clause must not be part of the column alias list
Error code in OceanBase Database: 5748
SQLSTATE: HY000
Cause: The
SEARCHclause in a recursiveWITHquery specifies asequencecolumn, but thissequencecolumn already exists in the column alias list of theWITHquery name.Solution: Specify a different name for the
sequencecolumn in theSEARCHclause, or delete this name from the column alias list.
OBE-32047: cycle mark value and non-cycle mark value must be one byte character string values
Error code in OceanBase Database: 5749
SQLSTATE: HY000
Cause: The
cycle markornon-cycle markvalue specified in theCYCLEclause of a recursiveWITHquery is not a one-byte string.Solution: Specify a one-byte string as the value of
cycle markornon-cycle markin theCYCLEclause of the recursiveWITHquery.
OBE-32048: cycle mark column name for CYCLE clause must not be part of the column alias list
Error code in OceanBase Database: 5750
SQLSTATE: HY000
Cause: The
CYCLEclause in a recursiveWITHquery specifies acycle markcolumn, but this column already exists in the column alias list of theWITHquery name.Solution: Specify a different name for the
cycle markcolumn in theCYCLEclause, or delete this name from the column alias list.
OBE-32049: duplicate name found in column alias list for WITH clause
Error code in OceanBase Database: 5751
SQLSTATE: HY000
Cause: A name appears multiple times in the column alias list of the
WITHclause.Solution: Delete duplicate names from the column alias list.
OBE-32480: SEARCH and CYCLE clauses can only be specified for recursive WITH clause elements
Error code in OceanBase Database: 5752
SQLSTATE: HY000
Cause: The
SEARCHorCYCLEclause is specified for a non-recursiveWITHclause element.Solution: Delete the
SEARCHorCYCLEclause, or add recursion to theWITHclause element.
OBE-32481: cycle value for CYCLE clause must be different from the non-cycle value
Error code in OceanBase Database: 5753
SQLSTATE: HY000
Cause: The
CYCLEclause is specified for a recursiveWITHquery, but thecyclevalue is the same as anon-cyclevalue or theDEFAULTvalue.Solution: Change the
cyclevalue or thenon-cyclevalue to ensure that they are different.
OBE-32482: sequence column for SEARCH clause must be different from the cycle mark column for CYCLE clause
Error code in OceanBase Database: 5754
SQLSTATE: HY000
Cause: The
SEARCHandCYCLEclauses are specified for a recursiveWITHquery, but thesequencecolumn of theSEARCHclause is the same as thecycle markcolumn of theCYCLEclause.Solution: Modify the
sequenceorcycle markcolumn to ensure that they are different.
OBE-32483: duplicate name found in sort specification list for SEARCH clause of WITH clause
Error code in OceanBase Database: 5755
SQLSTATE: HY000
Cause: A
SEARCHclause is specified for a recursive query, but thesort specificationlist in the recursive query contains duplicate names.Solution: Delete duplicate names from the
sort specificationlist.
OBE-32484: duplicate name found in cycle column list for CYCLE clause of WITH clause
Error code in OceanBase Database: 5756
SQLSTATE: HY000
Cause: A
CYCLEclause is specified for a recursive query, but thecyclecolumn list of theCYCLEclause contains duplicate names.Solution: Delete duplicate names from the
cyclecolumn list of theCYCLEclause.
OBE-32485: element in cycle column list of CYCLE clause must appear in the column alias list of the WITH clause element
Error code in OceanBase Database: 5757
SQLSTATE: HY000
Cause: In the
CYCLEclause specified for a recursiveWITHquery, the elements in thecyclecolumn list are not included in the column alias list of theWITHclause element.Solution: Modify the
cyclecolumn list so that only the names included in the column alias list of theWITHclause element are used.
OBE-32486: unsupported operation in recursive branch of recursive WITH clause
Error code in OceanBase Database: 5758
SQLSTATE: HY000
Cause: The recursive component of the
UNION ALLoperation in a recursiveWITHclause element uses an unsupported operation. The recursive branch of theUNION ALLoperation must not useGROUP BY,DISTINCT,MODEL, grouping sets,CONNECY BY, window functions,HAVING, or aggregate functions.Solution: Rewrite the query and ensure that it does not contain unsupported operations.
OBE-32487: unsupported join in recursive WITH query
Error code in OceanBase Database: 5759
SQLSTATE: HY000
Cause: The recursive component in the recursive
WITHclause element contains the following unsupported join operations:A
LEFT OUTERjoin with the name of the recursive query on the right sideA
RIGHT OUTERjoin with the name of the recursive query on the left sideA
FULL OUTERjoin that involves the name of the recursive query
Solution: Rewrite the query and ensure that it does not contain unsupported join operations.
OBE-32488: WITH clause element did not have a column alias list
Error code in OceanBase Database: 5760
SQLSTATE: HY000
Cause: A
WITHclause element uses theSEARCHclause and/or theCYCLEclause but does not specify a column alias list for them.Solution: Add a column alias list for the
WITHquery name.
OBE-32489: element in sort specification list of SEARCH clause did not appear in the column alias list of the WITH clause element
Error code in OceanBase Database: 5761
SQLSTATE: HY000
Cause: The elements in the
sort specificationlist of theSEARCHclause specified for a recursiveWITHquery are not included in the column alias list of theWITHclause element.Solution: Modify the
sort specificationlist so that only the names in the column alias list of theWITHclause element are used.
OBE-32490: recursive query name referenced more than once in recursive branch of recursive WITH clause element
Error code in OceanBase Database: 5762
SQLSTATE: HY000
Cause: The recursive component of the
UNION ALLoperation in a recursiveWITHclause element references the name of the recursive query multiple times. The recursive branch of the recursiveWITHquery can reference the name of the recursive query only once.Solution: Rewrite the query so that its recursive branch references the name of the query only once.
OBE-32575: Explicit column default is not supported for modifying views
- Error code in OceanBase Database: 5511
- SQLSTATE: 42000
- Cause: The
DEFAULTkeyword is used to modify the view. - Solution: Omit column values to implicitly use the default values.
Note
This error code is introduced since OceanBase Database V4.2.1.
OBE-32595: DDL statement cannot be audited with BY SESSION specified
Error code in OceanBase Database: 4364
SQLSTATE: HY000
Cause: You are attempting to audit a DDL statement with a specified
BY SESSIONclause. DDL statements can be audited only by usingBY ACCESS.Solution: Use
BY ACCESSto audit the DDL statement.
OBE-32792: prebuilt table managed column cannot be an identity column
Error code in OceanBase Database: 5916
SQLSTATE: HY000
Cause: You are attempting to create an instantiated view on a pre-built table with an identity column.
Solution: Delete the
identityattribute or delete the identity column from the instantiated view.
OBE-32793: cannot alter a system-generated sequence
Error code in OceanBase Database: 5917
SQLSTATE: HY000
Cause: You are attempting to modify a system-generated sequence.
Solution: Do not modify sequences generated by the system, such as a sequence created for the identity column.
OBE-32794: cannot drop a system-generated sequence
Error code in OceanBase Database: 5918
SQLSTATE: HY000
Cause: You are attempting to drop a system-generated sequence.
Solution: Do not drop sequences generated by the system, for example, a sequence created for the identity column.
OBE-32795: cannot insert into a generated always identity column
Error code in OceanBase Database: 5919
SQLSTATE: HY000
Cause: You are attempting to insert a value into an identity column created by using the
GENERATED ALWAYSkeyword.Solution: Do not directly insert a value into an identity column that is created by using the
GENERATED ALWAYSkeyword. Instead, the value should be provided by the associated sequence generator.
OBE-32796: cannot update a generated always identity column
Error code in OceanBase Database: 5920
SQLSTATE: HY000
Cause: You are attempting to update an identity column created by using the
GENERATED ALWAYSkeyword.Solution: Do not directly update an identity column that is created by using the
GENERATED ALWAYSkeyword.
OBE-32797: identity column sequence mismatch in ALTER TABLE EXCHANGE PARTITION
Error code in OceanBase Database: 5921
SQLSTATE: HY000
Cause: Sequences of identity columns of two tables specified in the
EXCHANGEstatement are neither incremented nor decremented.Solution: Make sure that the sequences of the identity columns with
INCREMENT BYhave the same symbol.
OBE-32798: cannot rename a system-generated sequence
Error code in OceanBase Database: 5922
SQLSTATE: HY000
Cause: You are attempting to rename a system-generated sequence.
Solution: Do not rename sequences generated by the system, such as a sequence created for the identity column.
OBE-38101: Invalid column in the INSERT VALUES Clause:' %.*s'.' %.*s'
Error code in OceanBase Database: 5803
SQLSTATE: HY000
Cause: Invalid columns are referenced in the
INSERT VALUESclause.
OBE-38104: Columns referenced in the ON Clause cannot be updated:' %.*s'.' %.*s'
Error code in OceanBase Database: 38104
SQLSTATE: HY000
Cause:
LHSinUPDATE SETcontains columns referenced in theONclause.
OBE-38778: Restore point %s already exists
Error code in OceanBase Database: 6259 and 6261
SQLSTATE: HY000
Cause: The restore point name in the
CREATE RESTORE POINTstatement already exists. The restore point name must be unique.Solution: Specify another name or delete the existing restore point with the same name.
OBE-38779: cannot create restore point - too many restore points
Error code in OceanBase Database: 6263
SQLSTATE: HY000
Cause: The number of created restore points has reached the maximum value allowed.
Solution: Delete some existing restore points and try again.
OBE-38780: Restore point %s does not exists
Error code in OceanBase Database: 6260 and 6262
SQLSTATE: HY000
Cause: The restore point name specified in the statement does not exist.
Solution: Query the restore point table for the restore point.
OBE-38900: miss mandatory column %.*s of error log table
Error code in OceanBase Database: 5385
SQLSTATE: HY000
Cause: The mandatory column of the error logging table is missing.
Solution: Add the named column to the error logging table.
Note
This error code is introduced since OceanBase Database V4.0.0.
OBE-39956: duplicate setting for PL/SQL compiler parameter %.*s
Error code in OceanBase Database: 5964
SQLSTATE: HY000
Cause: A PL/SQL compiler parameter was set more than once.
Solution: Remove the duplicate settings of the PL/SQL compiler parameter.
Note
This error code is introduced since OceanBase Database V4.0.0.
OBE-39962: invalid parameter for PLSQL_CCFLAGS
Error code in OceanBase Database: 5940
SQLSTATE: HY000
Cause: The value of the
PLSQL_CCFLAGSparameter is invalid.Solution: Specify a valid value for the
PLSQL_CCFLAGSparameter.
OBE-40441: JSON syntax error
- Error code in OceanBase Database: 5411
- SQLSTATE: 22032
- Cause: The syntax of the JSON data provided is invalid and cannot be parsed.
- Solution: Check the JSON data and provide the JSON data with the correct syntax.
Note
The error message is changed from OBE-00600: Invalid JSON text to OBE-40441: JSON syntax error since OceanBase Database V4.1.0.
OBE-40441: JSON syntax error
- Error code in OceanBase Database: 5412
- SQLSTATE: 22032
- Cause: The syntax of the JSON data provided is invalid and cannot be parsed.
- Solution: Check the JSON data and provide the JSON data with the correct syntax.
Note
The error message is changed from OBE-00600: Invalid JSON text in argument to OBE-40441: JSON syntax error since OceanBase Database V4.1.0.
OBE-40441: JSON syntax error
- Error code in OceanBase Database: 5447
- SQLSTATE: 42000
- Cause: The syntax of the JSON data provided is invalid and cannot be parsed.
- Solution: Provide the JSON data with the correct syntax.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40441: This version doesn't yet support 'references in JSON Schema
Error code in OceanBase Database: 6284
SQLSTATE: 42000
Cause: You cannot use references in a JSON schema in the current version of OceanBase Database.
Solution: Modify the design of the JSON schema to avoid using references.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-40442: JSON path expression syntax error ('INT')
- Error code in OceanBase Database: 5414
- SQLSTATE: 22032
- Cause: The syntax of the JSON path expression provided is invalid and cannot be parsed.
- Solution: Provide the JSON path expression with the correct syntax.
Note
The error message is changed from OBE-00600: Invalid JSON path expression to OBE-40442: JSON path expression syntax error ('INT') since OceanBase Database V4.1.0.
OBE-40442: JSON path expression syntax error ('INT').JSON path expression syntax error ('%s')
- Error code in OceanBase Database: 5442
- SQLSTATE: 42000
- Cause: The syntax of the JSON path expression provided is invalid and cannot be parsed.
- Solution: Provide the JSON path expression with the correct syntax.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40444: JSON processing error
- Error code in OceanBase Database: 5514
- SQLSTATE: 42000
- Cause: A JSON data processing error occurred.
Note
This error code is introduced since OceanBase Database V4.2.1.
OBE-40449: invalid data type for return value
- Error code in OceanBase Database: 5443
- SQLSTATE: 42000
- Cause: The data type provided for the return value is invalid or is not supported.
- Solution: Enter a supported return value.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40450: invalid '%s' clause
- Error code in OceanBase Database: 5460
- SQLSTATE: 42000
- Cause: The
%sstatement is invalid. - Solution: Provide the correct
%sstatement.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40451: invalid default value provided
- Error code in OceanBase Database: 5486
- SQLSTATE: 42000
- Cause: The default value provided is invalid.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40452: default value not matching type defined in RETURNING clause
- Error code in OceanBase Database: 5474
- SQLSTATE: 42000
- Cause: The default value is not of the type defined in the
RETURNINGclause. - Solution: Make sure that the default value is of the type defined in the
RETURNINGclause.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40454: path expression not a literal
- Error code in OceanBase Database: 5487
- SQLSTATE: 42000
- Cause: The path expression is not a literal.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40455: default value not a literal
- Error code in OceanBase Database: 5446
- SQLSTATE: 42000
- Cause: The default value provided is not a literal (constant).
- Solution: Provide a constant value.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40456: JSON_VALUE evaluated to non*scalar value
- Error code in OceanBase Database: 5444
- SQLSTATE: 42000
- Cause: The JSON path expression provided selected a non-scalar value.
- Solution: Correct the JSON path expression or use JSON_QUERY.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40459: output value too large (actual: %d, maximum: %d)
- Error code in OceanBase Database: 5473
- SQLSTATE: 42000
- Cause: The provided JSON operator generates a result that exceeds the maximum length specified in the
RETURNINGclause. - Solution: Increase the maximum length of the data type in the
RETURNINGclause, or use CLOB/BLOB in theRETURNINGclause.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40462: No value was found by '%.192s' on the specified path
- Error code in OceanBase Database: 5432
- SQLSTATE: 22035
- Cause: The JSON path expression provided did not select any value.
- Solution: Correct the JSON path expression.
Note
The error message is changed from OBE-00600: No value was found by '%.192s' on the specified path to OBE-40462: No value was found by '%.192s' on the specified path since OceanBase Database V4.1.0.
OBE-40462: JSON_VALUE evaluated to no value
- Error code in OceanBase Database: 5445
- SQLSTATE: 42000
- Cause: The JSON path expression provided did not select any value.
- Solution: Correct the JSON path expression.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40470: More than one value was found by '%.192s' on the specified path
- Error code in OceanBase Database: 5433
- SQLSTATE: 22034
- Cause: The JSON path expression provided selected multiple values.
- Solution: Correct the JSON path expression or use JSON_QUERY.
Note
The error message is changed from OBE-00600: More than one value was found by '%.192s' on the specified path to OBE-40470: More than one value was found by '%.192s' on the specified path since OceanBase Database V4.1.0.
OBE-40473: duplicate key names in JSON object
- Error code in OceanBase Database: 5453
- SQLSTATE: 42000
- Cause: The JSON data provided has duplicate key names in an object.
- Solution: Provide JSON data with a unique key name in each JSON object.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40476: JSON key too long
- Error code in OceanBase Database: 5422
- SQLSTATE: 22032
- Cause: The JSON data provided has a key that exceeds the maximum name length.
- Solution: Provide JSON data with a shorter key name.
Note
The error message is changed from OBE-00600: The JSON object contains a key name that is too long to OBE-40476: JSON key too long since OceanBase Database V4.1.0.
OBE-40480: result cannot be returned without array wrapper
- Error code in OceanBase Database: 5449
- SQLSTATE: 42000
- Cause: The result cannot be returned without an array wrapper.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40481: ASCII or PRETTY not supported for non*textual return data type
- Error code in OceanBase Database: 5469
- SQLSTATE: 42000
- Cause: You are attempting to pretty print or escape non-ASCII characters for a non-textual output of a JSON operation.
- Solution: Change the return data type to VARCHAR2 or CLOB, or remove the PRETTY or ASCII serialization option.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40484: invalid data type for '%s' column
- Error code in OceanBase Database: 5459
- SQLSTATE: 42000
- Cause: The data type of column
%sis invalid. - Solution: Enter correct information for column
%s.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40487: invalid usage of keyword EXISTS
- Error code in OceanBase Database: 5480
- SQLSTATE: 42000
- Cause: An invalid keyword exists. The syntax of the expression is incorrect.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40491: invalid input data type for JSON_TABLE
- Error code in OceanBase Database: 5481
- SQLSTATE: 42000
- Cause: The input to JSON_TABLE is of an invalid data type.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40560: JSON_TABLE nested path expressions not disjunct
- Error code in OceanBase Database: 5483
- SQLSTATE: 42000
- Cause: The JSON_TABLE expression contains duplicate path expressions at the same level.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40565: JSON path expression did not select a value
- Error code in OceanBase Database: 5468
- SQLSTATE: 42000
- Cause: The JSON path expression did not select any value.
- Solution: Correct the JSON path expression.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40566: JSON path expression selected a value of different data type
- Error code in OceanBase Database: 5467
- SQLSTATE: 42000
- Cause: The JSON path expression selected a value of a data type that is different from the requested data type.
- Solution: Use another
get*methodto retrieve the value selected by the JSON path expression.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40569: Unimplemented JSON feature
- Error code in OceanBase Database: 5479
- SQLSTATE: 42000
- Cause: You are attempting to execute an unimplemented JSON feature.
- Solution: Check that the expression exists.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40570: JSON conversion failed
- Error code in OceanBase Database: 5476
- SQLSTATE: 42000
- Cause: JSON conversion failed.
- Solution: Check the type definition or the selected JSON value.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40571: JSON key name not found", "JSON key name not found
- Error code in OceanBase Database: 5485
- SQLSTATE: 42000
- Cause: The key was not found in JSON data.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40573: Invalid use of PL/SQL JSON object type
- Error code in OceanBase Database: 5470
- SQLSTATE: 42000
- Cause: You are attempting to use a PL/SQL JSON object type in an invalid context.
- Solution: Use PL/SQL JSON object types only inside PL/SQL functions or procedures.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40576: Invalid use of bind variable in SQL/JSON path
- Error code in OceanBase Database: 5484
- SQLSTATE: 42000
- Cause: A bind variable in the SQL/JSON path is used improperly.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40587: invalid JSON type
- Error code in OceanBase Database: 5441
- SQLSTATE: 42000
- Cause: The JSON text is invalid because the specified JSON type is invalid.
OBE-40595: Name input to JSON generation function cannot be null
- Error code in OceanBase Database: 5429
- SQLSTATE: 22032
- Cause: The name input given to the JSON generation function was null.
- Solution: Make sure that the input has a valid value.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40597: JSON path expression syntax error ('%.*s')
- Error code in OceanBase Database: 5454
- SQLSTATE: 42000
- Cause: The specified JSON path expression had invalid syntax ("%.*s").
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40600: JSON_EQUAL used outside predicate
- Error code in OceanBase Database: 5448
- SQLSTATE: 42000
- Cause: JSON_EQUAL is used outside the predicate.
- Solution: Use JSON_EQUAL in the predicate. For example, embed it in a CASE expression.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40629: Patch specification is not valid JSON
- Error code in OceanBase Database: 5450
- SQLSTATE: 42000
- Cause: The patch specification was not expressed in valid JSON.
- Solution: Make sure that the patch specification is expressed in valid JSON.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40654: Input to JSON generation function has unsupported data type
Error code in OceanBase Database: 7420
SQLSTATE: HY000
Cause: An input parameter of the JSON generation function is of an unsupported data type.
Solution: Pass in parameters of correct data types or use a conversion function to convert the input parameter to a supported data type.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-40654: Input to JSON generation function has unsupported data type
Error code in OceanBase Database: 7431
SQLSTATE: HY000
Cause: An input parameter of the JSON generation function is of an unsupported data type.
Solution: Pass in parameters of correct data types or use a conversion function to convert the input parameter to a supported data type.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-40656: Variable in JSON path expression has no value in PASSING clause
- Error code in OceanBase Database: 5456
- SQLSTATE: 42000
- Cause: The JSON path expression contained a variable that had no value in the
PASSINGclause. - Solution: Add the variable to the external
PASSINGclause and ensure that the variable names match.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40664: cannot add additional IS jSON check constraint
- Error code in OceanBase Database: 5464
- SQLSTATE: 42000
- Cause: You are attempting to add an IS JSON check constraint to a column that already had an IS JSON check constraint.
- Solution: Check the IS JSON constraint.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40688: date or time stamp string value does not conform to ISO 8601 format
- Error code in OceanBase Database: 5472
- SQLSTATE: 42000
- Cause: The date or timestamp string value did not conform to the ISO 8601 format.
- Solution: Provide a proper date or timestamp string value conforming to the ISO 8601 format for conversion.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40750: Patch specification is not valid JSON
- Error code in OceanBase Database: 5452
- SQLSTATE: 42000
- Cause: The specified sorting condition includes LOB columns, such as CLOB, BLOB, or JSON columns.
- Solution: Make sure that the sorting column data type is not a large object, such as CLOB, BLOB, or JSON.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40779: Truncation is not supported with data type in RETURNING clause
- Error code in OceanBase Database: 5478
- SQLSTATE: 42000
- Cause: The data type in the
RETURNINGclause does not support truncation.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40783: invalid binary JSON data\nstring
- Error code in OceanBase Database: 5413
- SQLSTATE: 22032
- Cause: The provided binary JSON data is invalid.
- Solution: Provide valid binary JSON data.
Note
The error message is changed from OBE-00600: The JSON binary value contains invalid data to OBE-40783: invalid binary JSON data\nstring since OceanBase Database V4.1.0.
OBE-40796: invalid comparison operation involving JSON type value
- Error code in OceanBase Database: 5461
- SQLSTATE: 42000
- Cause: You are attempting to compare JSON type values.
- Solution: Add a JSON tail type conversion function to compare the JSON type value with a scalar value. Use JSON_EQUAL to compare two JSON type values.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40799: cannot convert Boolean value to number
- Error code in OceanBase Database: 5475
- SQLSTATE: 42000
- Cause: You are attempting to convert a Boolean value selected by a JSON path expression with a number() or numberOnly() function to a number.
- Solution: Remove the number() and numberOnly() functions from the JSON path expression.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40833: empty input to JSON operator
- Error code in OceanBase Database: 5463
- SQLSTATE: 42000
- Cause: An empty input, such as an empty CLOB, was provided to a JSON operator that expects a non-empty input.
- Solution: Check and correct the input.
Note
This error code is introduced since OceanBase Database V4.1.0.
OBE-40876: invalid JSON schema document
Error code in OceanBase Database: 6285
SQLSTATE: 22032
Cause: The JSON schema is invalid.
Solution: Comply with the JSON schema specifications.
Note
This error code is introduced since OceanBase Database V4.2.2.
OBE-42399: cannot perform a DML operation on a read-only view
Error code in OceanBase Database: 5723
SQLSTATE: HY000
Cause: You are attempting to insert, delete, or update rows in a read-only view, which is not allowed.
Solution: Execute required DML operations on the base table of the view, or use the
ALTER VIEW ... READ WRITEstatement to make the view operable.