ScalarDB SQL Error Codes
This page provides a list of error codes in ScalarDB SQL.
Error code classes and descriptions​
Class | Description |
---|---|
SQL-1xxxx | Errors for the user error category |
SQL-1xxxx
status codes​
SQL-10000
​
Message
The namespace does not exist. Namespace: %s
SQL-10001
​
Message
The table does not exist. Table: %s
SQL-10002
​
Message
The column %s does not exist
SQL-10003
​
Message
The column does not exist. Table: %s; Column: %s
SQL-10004
​
Message
The column index is out of bounds. Index: %d; Size: %d
SQL-10005
​
Message
A positional bind marker is not allowed when binding named values
SQL-10006
​
Message
A named bind marker is not allowed when binding positional values
SQL-10007
​
Message
Cannot convert BLOB values to SQL. Please use a bind marker for a BLOB value and bind it separately
SQL-10008
​
Message
No namespace name has been specified. Set a default namespace name, or explicitly specify a namespace name
SQL-10009
​
Message
Zero bytes may not occur in string parameters
SQL-10010
​
Message
Mixing positional values and named values is not allowed
SQL-10011
​
Message
Preparing a transaction is supported only in two-phase commit transaction mode
SQL-10012
​
Message
Validating a transaction is supported only in two-phase commit transaction mode
SQL-10013
​
Message
The previous transaction is still in progress. Commit, roll back, or suspend the previous transaction first
SQL-10014
​
Message
This SQL session has already been closed
SQL-10015
​
Message
A transaction has not begun
SQL-10016
​
Message
The type %s is not supported
SQL-10017
​
Message
No connection mode implementations are found. Please add a connection mode implementation to the classpath
SQL-10018
​
Message
The connection mode is not specified, but multiple connection mode implementations are found. Specify one of the following connection modes: %s
SQL-10019
​
Message
The connection mode '%s' is not found. Specify one of the following connection modes: %s
SQL-10020
​
Message
Access denied: You need the %s privilege on the namespace %s to execute this operation
SQL-10021
​
Message
Access denied: You need the %s privilege on the table %s to execute this operation
SQL-10022
​
Message
Access denied: You can't grant the %s privilege because you don't have the same privilege on the table %s
SQL-10023
​
Message
Access denied: You can't grant the %s privilege because you don't have the same privilege on the namespace %s
SQL-10024
​
Message
Access denied: You can't revoke the %s privilege because you don't have the same privilege on the table %s
SQL-10025
​
Message
Access denied: You can't revoke the %s privilege because you don't have the same privilege on the namespace %s
SQL-10026
​
Message
Syntax error. Line %d:%d %s
SQL-10027
​
Message
Syntax error. Multiple PRIMARY KEYs specified (exactly one required)
SQL-10028
​
Message
Cannot grant the INSERT privilege if the user doesn't have the UPDATE privilege
SQL-10029
​
Message
Cannot grant the UPDATE privilege if the user doesn't have the INSERT privilege
SQL-10030
​
Message
Cannot grant the UPDATE privilege if the user doesn't have the SELECT privilege
SQL-10031
​
Message
Cannot grant the DELETE privilege if the user doesn't have the SELECT privilege
SQL-10032
​
Message
Cannot revoke the SELECT privilege if the user has the UPDATE privilege
SQL-10033
​
Message
Cannot revoke the SELECT privilege if the user has the DELETE privilege
SQL-10034
​
Message
Cannot revoke the INSERT privilege if the user has the UPDATE privilege
SQL-10035
​
Message
Cannot revoke the UPDATE privilege if the user has the INSERT privilege