RDM Status and Error Codes
Return Codes Sorted by Value
Name | Value | SQLState | Description |
---|---|---|---|
eFAIL | -1 | General failure | |
eNOMEMORY | -10000 | HY001 | Out of memory |
eDBNOTOPEN | -10001 | 3D000 | Database not open |
eDBOPEN | -10002 | 82117 | Database already opened in this task |
eEXCLUSIVE | -10003 | Exclusive access required | |
eBADCAT | -10004 | 42000 | Bad catalog (error trying to read catalog file) |
eSQLRESERVED | -10005 | Can't use a SQL reserved word as identifier | |
eTRACTIVE | -10006 | 25001 | Transaction is active |
eTRNOTACT | -10007 | 25000 | Transaction not active |
eNOSTART | -10008 | 25005 | No rdm_dbStartRead(), rdm_dbStartSnapshot(), or rdm_dbStartUpdate() is active |
eNOSTARTUPDATE | -10009 | 25005 | An update operation was attempted when no rdm_dbStartUpdate() is active |
eNOSTARTREAD | -10010 | 25005 | A read operation was attempted when no rdm_dbStartSnapshot(), rdm_dbStartRead(), or rdm_dbStartUpdate() is active |
eNOTLOCKED | -10011 | 25000 | Attempt to access a table for reading or update without proper locks |
eNOTFREE | -10012 | 25000 | Attempt to lock already locked table |
eDUPLICATE | -10013 | 40002 | Attempt to insert a duplicate value as a unique/primary key |
eREFINTEGRITY | -10014 | 40002 | Integrity constraint violation |
eCHECK | -10015 | 40002 | Check clause violation |
eNODB | -10016 | 42000 | Database not found |
eSNAPSHOTACTIVE | -10017 | 25006 | Snapshot is active |
eSNAPSHOTNOTACTIVE | -10018 | 25005 | Snapshot is not active |
eOPENMODE | -10019 | 42000 | Invalid db open mode |
eNOTIMPLEMENTED | -10020 | HYC00 | Function/feature not implemented |
eINVFCNARG | -10021 | Invalid function argument | |
eINVNULLARG | -10022 | HY009 | Function argument cannot be NULL |
eINVFCNSEQ | -10023 | HY010 | Function sequence error |
eINVLITERAL | -10024 | 22005 | Invalid literal constant specification |
eMISSINGLITERAL | -10025 | Syntax error where we expected a literal constant specification | |
eCIRTABDELETE | -10026 | Cannot delete rows from a circular table | |
eNOTNULL | -10027 | 42000 | Must specify value for column |
eFILEIO | -10028 | File I/O error | |
eFILEOPEN | -10029 | Unable to open file | |
eUNOMISMATCH | -10030 | Unions mismatch | |
eNOSPACE | -10031 | Out of disk space | |
ePRECOMMITTED | -10032 | A precommitted transaction must be committed or rolled back before further operations on this database are allowed | |
eINVDBNAMESPEC | -10033 | Invalid database name specification | |
eINVTFSSPEC | -10034 | Invalid TFS specification | |
eFILEINUSE | -10035 | File in use | |
eTRUNCATED | -10036 | Date truncated | |
eBADREAD | -10037 | Error reading from a file | |
eBADWRITE | -10038 | Error writing to a file | |
eRANGE | -10039 | 22003 | Numeric value out of range |
eINVKEYVALUE | -10040 | Invalid key/value pair | |
eINVBCD | -10041 | Invalid BCD value | |
eDUPUSERID | -10043 | DBUSERID is already in use | |
eREADONLY | -10044 | 42000 | Database is read-only and cannot be updated |
eMKDIR | -10045 | Unable to create directory | |
eRECOVERYFAILED | -10046 | Recovery failed | |
eNOTFOUND | -10047 | Not found | |
eSYNTAX | -10048 | 42000 | Syntax error |
eBADDATALEN | -10049 | HY090 | Invalid string or buffer length |
eINVROWIDVAL | -10050 | Invalid rowid value | |
eVALUEISLIST | -10051 | Attempted to retrieve a single value where the actual value is a list | |
eINVVARINT | -10052 | Invalid variable integer value | |
eDATALOST | -10053 | Significant data lost due to truncation | |
eINVBINLITERAL | -10054 | Invalid binary literal specification | |
eTYPEMISMATCH | -10055 | 42000 | Data type mismatch |
eROWIDRANGE | -10056 | RowId value out of range | |
eROWIDMISMATCH | -10057 | The specified RowId does not match the Primary Key RowId value | |
eROWLIMIT | -10058 | Table row limit reached | |
eINVCONVERT | -10059 | HYC00 | Invalid data type conversion |
eINVUTF | -10060 | Invalid UTF string | |
eINVOPTION | -10061 | HY092 | Invalid option identifier is specified |
eINVOPTIONVALUE | -10062 | Invalid option value | |
eDBNOTCLOSED | -10063 | Option requires database to be closed | |
eINVARG | -10064 | 22000 | Invalid argument |
eINVARGTYPE | -10065 | 22000 | Invalid argument type |
eINVTRID | -10066 | 25000 | Invalid transaction id |
eNOTSUPPORTED | -10067 | IM001 | Function not supported |
eNOTROOTUPDATETRANS | -10068 | You can only precommit the root update transaction | |
eESCAPE | -10069 | 42000 | Escape clause syntax error |
eDBEXISTS | -10071 | 42000 | Database already exists |
eEOD | -10072 | Insufficient data | |
eINVID | -10073 | Invalid 'internals' id | |
eINVUNICODE | -10074 | Invalid Unicode string | |
eCOLCOUNTMISMATCH | -10075 | Invalid number column values provided for the table | |
eKEYCOLCOUNTMISMATCH | -10076 | Invalid number column values provided for the key | |
eHASMEMBERS | -10077 | 23000 | Referential Integrity error - row is referenced by other rows |
eDEPRECATED | -10078 | This feature is deprecated | |
eINVTIMEOUT | -10079 | Invalid timeout value | |
eLEGACYAPI | -10080 | Call to a legacy API from a database handle not opened in legacy mode | |
eLEGACYDB | -10081 | Call non-legacy API from a database handle opened in legacy mode | |
eINMEMMISMATCH | -10082 | Attempting to open a database that is already open with differing in-memory options | |
eBADWILDALL | -10083 | 42000 | Bad wild all character (must be '%' or '*') |
eBADWILDONE | -10084 | 42000 | Bad wild one character (must be '_', '.', or '?') |
eBADSNAPSHOTMODE | -10085 | 25S01 | Invalid snapshot mode |
eINVHANDLE | -10086 | 02002 | Invalid handle |
eINVSQLTYPE | -10087 | HY004 | Invalid SQL data type |
eCONNNOTOPEN | -10088 | 08003 | Connection is not open |
eDIVBY0 | -10089 | 22012 | Division by zero |
eNOTANUMBER | -10090 | A calculation returned not a number | |
eINVALID | -10091 | Invalid encoding | |
eUNAVAIL | -10092 | HYT00 | Requested resource not available |
eTABNOTFOUND | -10093 | 42S02 | Table not declared |
eCOLNOTFOUND | -10094 | 42S22 | Column not declared |
eINSERTVALS | -10096 | 21S01 | Insert value list does not match column list |
eINVTRIGSTMT | -10097 | 0W000 | Prohibited statement encountered during trigger execution |
eNOSTATS | -10098 | No statistics is associated with this database | |
eDROPONLYCOL | -10099 | 42000 | Illegal attempt to drop the only column of the table |
eTFSOPTIONINIT | -10100 | Option specified can only be specified before initializing a TFS handle | |
eINVINFOKEY | -10102 | Invalid information key value | |
eDBCORRUPTED | -10103 | 42000 | Database corruption |
eDROPTRIGCOL | -10104 | 42000 | Illegal attempt to drop a column referenced by trigger |
eREALLOCMEMORY | -10105 | HY001 | Reallocation of huge memory buffers not supported |
eNOUPDATE | -10106 | Transaction handle does not refer to an update transaction | |
eFILEACCESS | -10107 | Unable to open file due to access restrictions | |
eFILEEXIST | -10108 | Unable to create file due to an already existing file | |
eFILENOENTRY | -10109 | Unable to open file since it does not exist | |
eFILEISDIR | -10110 | File is a directory | |
eEOF | -10111 | Reached the end of the file or input string | |
eBROKENPIPE | -10112 | Failed to read or write since the other end have closed the connection | |
eBADCATVER | -10114 | 42000 | Bad catalog version (catalog version incompatible with the runtime) |
eALREADYLOCKED | -10115 | The table is already locked. This is only being returned to the inline vacuumer when user already has the table locked | |
eWRITEPANIC | -10116 | The database engine have shut down updates due to a severe error | |
eTABLENOROWID | -10117 | Table does not contain a rowid value | |
eUPDPRIKEY | -10118 | UPDATE of a column in a primary key is not allowed | |
eBASE_INVDATE | -11000 | Invalid date value | |
eBASE_INVTIMEZONE | -11001 | Invalid time zone value | |
eBASE_COMMAND | -11002 | Command line argument processor error | |
eBASE_QUEUE_CLOSED | -11003 | No more messages can be written since the queue is closed | |
eDEFUNCT | -12000 | Function no longer supported/defunct | |
eINVTASKID | -12001 | Invalid task id | |
eINVDBID | -12002 | Invalid db id | |
eINVCURSORID | -12003 | Invalid cursor id | |
eINVTRANSID | -12004 | Invalid transaction id | |
eNOTRANSID | -12005 | No transaction id specified | |
eCURSORDB | -12006 | Cursor is associated with a different database | |
eINVTFSID | -12007 | Invalid TFS id | |
eINVFORUNION | -12008 | Invalid operation on unioned db | |
eNOTKEY | -12009 | Column is not a key | |
eNOTBLOB | -12010 | Column is not a BLOB or CLOB | |
eINVLOCKTYPE | -12011 | Invalid lock type | |
eINVKEYID | -12012 | Invalid key id | |
eKEYREQD | -12013 | Key value required | |
eINVCOLID | -12014 | Invalid column id | |
eINVTABID | -12015 | Invalid table id | |
eINVREFID | -12016 | Invalid reference (set) id number | |
eINVIDENTIFIER | -12017 | Invalid id value | |
eINVCURSOROP | -12018 | Invalid operation for this cursor | |
eDELETED | -12019 | The current row has been deleted | |
eOWNERDELETED | -12020 | The owner row for a set cursor has been deleted | |
eSINGLETONDELETED | -12021 | The row for a singleton cursor has been deleted | |
eNOTOWNER | -12022 | The cursor's rows are not owners of the specified set | |
eNOTMEMBER | -12023 | The cursor's rows are not members of the specified set | |
eNOTRELATED | -12024 | Items are not related | |
eNOCURRENTROW | -12025 | The cursor is not positioned to a valid row | |
eNOCURRENTOWNER | -12026 | No current owner row | |
eNOCURRENTMEMBER | -12027 | No current member row | |
eNOTLINKED | -12028 | The cursor is positioned to a row that is not linked to the specified reference id | |
eINVITERATION | -12029 | Invalid attempt to move cursor before 'BeforeFirst' or past 'AfterLast' | |
eLOSTPOSITION | -12030 | Cursor position was lost and must be reset | |
eINVCURSORCOL | -12031 | The specified column is not in the table the cursor is associated with | |
eINVCURSORKEY | -12032 | The specified key is not in the table the cursor is associated with | |
eNOTINCURSOR | -12033 | The row is not in the cursor | |
eBLOBBADSIZE | -12034 | Not enough data in the blob to satisfy the read request | |
eBLOBBADPOSITION | -12035 | Invalid blob offset position | |
eHASOWNER | -12036 | The row references other rows | |
eISOWNED | -12037 | The member row is already owned | |
eEOS | -12038 | End of set | |
eISCOMPOUNDKEY | -12039 | Column is a compound key | |
eCOMPOUNDKEY | -12040 | Column is in a compound key | |
eKEYERR | -12041 | Key inconsistency detected | |
eKEYSEQ | -12042 | Field type used out of sequence in d_keynext | |
eVARDATALEN | -12043 | Vardata length inconsistency | |
eVARDATAPTR | -12044 | Vardata pointer inconsistency | |
eTRFREE | -12045 | Attempt to free a lock inside a transaction | |
eBADLOCKS | -12046 | Inconsistent database locks | |
eINVKEYSPEC | -12049 | Invalid key specification | |
eSLAVEREADONLY | -12051 | Attempted to open a slave database in non-readonly mode | |
eDEBUG | -12052 | Debugging check interrupt | |
eINVENCRYPT | -12053 | 28000 | Invalid encryption key |
eENCRYPTMISMATCH | -12054 | Encryption passcodes do not match | |
eSETPAGES | -12055 | Error in d_setpages (database open or bad param) | |
eINVFILE | -12056 | Invalid file type for operation | |
eREP_INVOP | -12057 | Invalid operation during replication | |
eDBDREAD | -12058 | Error reading dbd file | |
eINVENDIAN | -12059 | Invalid endian format | |
eINVSTRING | -12060 | Invalid string format | |
eINVDBA | -12061 | Invalid dba format | |
eCATMISMATCH | -12062 | Catalog in memory does not match Catalog on disk | |
eSCHEMACHANGE | -12063 | A schema change was detected and the current operation was not successful | |
eDBD_NONAMES | -12064 | Incompatible legacy DBD file - does not contain record/field/set name | |
eNOT_ENCRYPTED | -12065 | The database is not encrypted | |
eINVDB | -12068 | Invalid database | |
eIMPBADXML | -12069 | Bad xml | |
eIMPBADDATA | -12070 | Bad data | |
eMULTIPLE_DBS | -12071 | Open multiple dbs in one call is not supported by this API, Use multiple calls | |
eUNIONCATMISMATCH | -12072 | Unioned databases do not have compatible Catalog structures | |
eINCOMPAT | -12073 | Incompatible dictionary file | |
eINVOPFORBLOB | -12074 | Invalid operation for a BLOB column | |
eINVOPENMODE | -12075 | 42000 | Invalid database open mode |
eDBOPENED | -12076 | Operation not completed because database is open | |
eNOCURRTYPE | -12077 | No current table type | |
eTABLEISINREF | -12078 | Cannot quick initialize the table because the table is involved in a reference | |
eNOCOLUMNVALUE | -12079 | No column value was specified, the column does not have a default, and cannot be null | |
eNULLCOLUMNVALUE | -12080 | HY000 | NULL column value was specified, and the column cannot be null |
eINVDATEFMT | -12081 | 22007 | Invalid date format |
eINVDATESEP | -12082 | 22007 | Invalid date separator |
eINVTIMEFMT | -12083 | Invalid time format | |
eVTNOTREGISTERED | -12084 | HY000 | Reference to unregistered Virtual Table |
eMIXEDTRANS | -12085 | 42000 | DDL and DML transactions cannot be mixed |
eINVLOCALE | -12086 | Invalid collation locale | |
eLOCALEMISMATCH | -12087 | HY000 | Attempt to open database with incorrect (or no) locale |
eNOTRTREE | -12088 | The key specified is not an rtree index | |
eISRTREE | -12089 | The key specified is an rtree index | |
eDROPPED | -12090 | Attempt to access a cursor based on an item that has been dropped | |
eINVSTORAGETYPE | -12091 | HY092 | Only INMEMORY_LOAD or INMEMORY_PERSIST databases can be persisted |
eINNESTEDUPDATE | -12092 | Function is not allowed from a nested update transaction, it can only be called from the root update transaction | |
eVACUUMAMOUNT | -12093 | The amount of data allowed to be vacuumed in one transaction is set to low | |
eNOREPLICATE | -12094 | Replication have not been enabled for this DB handle and replication functions can therefore not be called | |
eREPLICATE | -12095 | Replication has been enabled for this DB handle and other functions can therefore not be called | |
eREPLICATESOURCE | -12096 | Replication source has been enabled for this DB handle and functions for the replication target cannot be called | |
eREPLICATETARGET | -12097 | Replication target has been enabled for this DB handle and functions for the replication source cannot be called | |
eREPLICATEBEHIND | -12098 | Replication source is behind the replication target | |
eREPLICATEREADONLY | -12099 | A database serving as a replication target can only be opened in read only mode | |
eREPLICATEALREADY | -12100 | Database is already being served as a replication target | |
eREPLICATEMISSMATCH | -12101 | Replication target does not match replication source | |
eREPLICATESNAPSHOT | -12102 | A database serving as a replication target can only start snapshots | |
eDBCORRUPTIONMISSINGFILE | -12103 | A database file is missing | |
eDBCORRUPTIONTRUNCATEDFILE | -12104 | A database file has been truncated from its required size | |
eTFS_INVHANDLE | -13000 | Invalid TFS handle | |
eTFS_INVTYPE | -13001 | 42000 | Invalid TFS type |
eTFS_NOTINITIALIZED | -13002 | The RDM Transaction File Server (TFS) is not initialized | |
eTFS_DUPUSER | -13003 | Duplicate user ID | |
eTFS_FCNSEQ | -13004 | Function sequence error | |
eTFS_ILLEGALMOD | -13005 | Illegal attempt to modify file(s) on read-only device | |
eTFS_ILLEGALACCESS | -13006 | Illegal attempt to access file(s) on diskless system | |
eTFS_INVDBID | -13007 | Invalid db id | |
eTFS_INVUSERID | -13008 | Invalid user id | |
eTFS_DOCROOTUSED | -13012 | The specified docroot is already in use | |
eTFS_DOCROOTNOTFOUND | -13013 | The specified docroot location is not found | |
eTFS_DOCROOTINVALID | -13014 | The specified docroot location is invalid | |
eTFS_WRITEFAIL | -13016 | Failed to write to a file | |
eTFS_INVFILE | -13017 | File not found in file table | |
eTFS_IASYNC_ON | -13018 | Internal asynchronous mode is enabled | |
eTFS_BLOCKED | -13019 | Mirroring is blocking transactions | |
eTFS_INVOPERATION | -13020 | Invalid operation for this type of TFS | |
eTFS_NOTRANS | -13021 | Transaction not active | |
eTFS_DBOPEN | -13022 | Cannot destroy a database that is open by others | |
eTFS_NOPAGE | -13023 | Requested page doesn't exist | |
eTFS_COMMITFAILED | -13024 | Commit failed due to prelog file rename failure | |
eTFS_DBINUSE | -13025 | 3D000 | Database is currently in use |
eTFS_INIEDITED | -13026 | Attempted to edit an INI when it is already being edited | |
eTFS_ININOTEDITED | -13027 | Attempted to edit an INI that was not held for editing | |
eTFS_NAMEINUSE | -13028 | Name or port already in use | |
eTFS_NOMIR | -13029 | Replication/mirroring is not enabled for this TFS library | |
eTFS_NOSQL | -13030 | SQL is not enabled for this TFS library | |
eTFS_NOTFS | -13031 | TFS is not enabled for this TFS library | |
eTFS_CONNECT | -13032 | Failed to connect to TFS | |
eTFS_ENCNOTINIT | -13033 | Encryption subsystem is not initialized on the TFS | |
eTFS_NOREST | -13034 | RDM REST API is not enabled for this TFS library | |
eTFS_PACKFILELIMIT | -13036 | 64000 | The upper limit of the number of pack files allowed reached |
ePSP_FAILURE | -14000 | General failure in the PSP library | |
ePSP_MUTEX_FAILURE | -14001 | Mutex failure in the PSP library | |
ePSP_PRIV | -14003 | Insufficient privilege | |
ePSP_INVUSER | -14004 | Invalid user | |
ePSP_INVPASS | -14005 | Invalid password | |
ePSP_NOSOURCE | -14006 | Invalid source | |
ePSP_NODEST | -14007 | Invalid destination | |
ePSP_INVUUID | -14008 | Invalid UUID in the PSP library | |
ePSP_DEADLOCK | -14009 | Mutex deadlock in the PSP library | |
ePSP_TERMINATE | -14010 | Signal received for termination | |
eDDL_CRDBACTIVE | -14501 | RD001 | A CREATE/ALTER DATABASE is already active |
eDDL_WRONGDB | -14502 | RD002 | Table must be created in the active database |
eDDL_DUPCOLUMN | -14503 | 42S21 | Column with same name already declared in table |
eDDL_NOTWITHDOMAIN | -14504 | 42000 | Not allowed with columns declared with domain |
eDDL_DOMNOTFOUND | -14505 | 42000 | Domain not declared |
eDDL_BADDATATYPE | -14506 | 42000 | Invalid data type |
eDDL_DUPTABNAME | -14507 | 42S01 | Duplicate table name |
eDDL_DUPCOLNAME | -14508 | 42S21 | Duplicate column name |
eDDL_FKMISMATCH | -14509 | 42000 | Foreign/primary key columns do not match |
eDDL_REFNULL | -14510 | 42000 | A referenced key must have at least one NOT NULL column |
eDDL_NOPRIKEY | -14511 | 42S12 | Referenced table does not have referenced primary key |
eDDL_DEFAUTO | -14512 | 42000 | DEFAULT AUTO is not allowed (only with guid/rowid type) |
eDDL_DEFCURRENT | -14513 | 42000 | DEFAULT CURRENT is not allowed (only with date/time types) |
eDDL_BADVARPREC | -14514 | 22000 | Invalid variable length column precision |
eDDL_VARCHARLEN | -14515 | 22000 | Must specify '(length)' with variable size columns |
eDDL_BINLEN | -14516 | 22000 | Must specify '(length)' with binary columns |
eDDL_NOMAXROWS | -14517 | 42000 | Must specify 'MAXROWS=value' with circular tables |
eDDL_MAXROWSVALUE | -14518 | 22000 | MAXROWS value must be >0 |
eDDL_CONSTRNAME | -14519 | 42000 | Constraint name used more than once |
eDDL_NULLCONFLICT | -14520 | 42000 | NOT NULL constraint specified for a column that has NULL values or a NULL default value |
eDDL_DROPCOLUMN | -14521 | 0A000 | Cannot DROP COLUMN: column is used in constraint--drop constraint first |
eDDL_DROPNOTNULL | -14522 | 0A000 | Cannot DROP NOT NULL: column is not defined as NOT NULL |
eDDL_ALTERCHECK | -14523 | 0A000 | CHECK constraint not allowed in ALTER COLUMN |
eDDL_CONSTRNOTFOUND | -14524 | 42000 | Constraint not found |
eDDL_NOREFDTABLE | -14525 | 42S02 | Referenced table not found |
eDDL_COLDOMCONSTR | -14526 | 42000 | Column constraint defined in domain |
eDDL_DROPREFDKEY | -14527 | 0A000 | Cannot drop a referenced unique/primary key |
eDDL_FKCOLINFK | -14528 | 0A000 | A column can only be used in one foreign key |
eDDL_ALTERTYPE | -14529 | 0A000 | Cannot change column to specified data type |
eDDL_NEEDTABLE | -14530 | 42000 | Table name must be specified |
eDDL_DROPTABLE | -14531 | 0A000 | Cannot drop table referenced by a foreign key |
eDDL_DROPFKCOL | -14532 | 0A000 | Cannot drop a foreign key on a column used in a key--drop key first |
eDDL_DROPDOMAIN | -14533 | 0A000 | Cannot drop a domain that is being used by a column |
eDDL_DOMAINCHECK | -14534 | 0A000 | Cannot specify a CHECK clause for a column declared as domain type |
eDDL_DBEXISTS | -14535 | 3D000 | Database already exists |
eDDL_CONDEXPR | -14536 | 42000 | Invalid conditional expression spec |
eDDL_DISPLAY | -14537 | 42000 | Invalid DISPLAY clause spec |
eDDL_COLTYPE | -14538 | 42000 | Column declarations must begin with name followed by type |
eDDL_COLDECL | -14539 | 42000 | Invalid column declaration spec |
eDDL_COLCONSTRAINT | -14540 | 42000 | Invalid column constraint spec |
eDDL_TABCONSTRAINT | -14541 | 42000 | Invalid table constraint spec |
eDDL_INDEXMETHOD | -14542 | 42000 | Invalid USING index method |
eDDL_ORDERBY | -14543 | 42000 | Invalid ORDER BY spec |
eDDL_ONACTION | -14544 | 42000 | Invalid ON UPDATE/DELETE action spec |
eDDL_KEYSPEC | -14545 | 42000 | Invalid key spec |
eDDL_FORKEYSPEC | -14546 | 42000 | Invalid foreign key/references spec |
eDDL_ERRORS | -14547 | 42000 | DDL errors were found |
eDDL_ALTERCOL | -14548 | 42000 | Invalid ALTER COLUMN spec |
eDDL_NOARRAYS | -14549 | 0A000 | Arrays are not allowed with this data type |
eDDL_NOBLOBS | -14550 | 0A000 | Blobs not allowed in virtual tables |
eDDL_ALTERACT | -14551 | 42000 | Invalid ALTER action spec |
eDDL_HASPRIKEY | -14552 | 42000 | Table already has a primary key defined |
eDDL_NOLOBKEYS | -14553 | 0A000 | Large object columns cannot be keyed |
eDDL_NODBNAME | -14554 | 42000 | Default database name not provided |
eDDL_INVDEF | -14555 | 42000 | Invalid default specification for the type |
eDDL_NOHASHORDER | -14556 | 0A000 | Column orders are not allowed on a hash index |
eDDL_BADRTREECOLS | -14557 | 0A000 | Only one array column allowed for a R-tree index |
eDDL_BADRTREELEN | -14558 | 0A000 | The array size for an R-tree index must be 2, 4, or 6 |
eDDL_NONUNIQUEHASH | -14559 | 42000 | Hash index must be unique |
eDDL_TABREFFEDINPL | -14560 | 0A000 | Cannot drop a table referenced in a procedure or trigger on another table |
eDDL_COLWITHDEFVAL | -14561 | 42000 | Cannot add a column with the default value to a table that has rows |
eDDL_INVCHGFORKEY | -14562 | 42000 | Cannot change a foreign key constaint when the key columns have non-null values |
eDDL_DBNAMEINTABLE | -14563 | 42000 | Database name may not be specified with a table name in DDL |
eSQL_SQLERROR | -15000 | HY000 | Internal SQL error |
eSQL_DUPCURSOR | -15001 | 3C000 | Duplicate cursor name |
eSQL_GENFILE | -15002 | HY000 | Unable to open file |
eSQL_BADFORMAT | -15003 | 22000 | Bad formatting specification |
eSQL_COLNUMBER | -15004 | 07009 | Invalid descriptor index (column number) |
eSQL_PARNUMBER | -15005 | 07009 | Invalid descriptor index (parameter number) |
eSQL_RDMERROR | -15006 | HY000 | RDM runtime error |
eSQL_SELECTCOLS | -15007 | 21S02 | SELECT result columns do not match column list |
eSQL_NOCOLUMN | -15008 | 42S22 | Column not found |
eSQL_NUMPAR | -15009 | 21000 | Insufficient number of parameters specified |
eSQL_FETCHTYPE | -15010 | HY106 | Fetch type out of range |
eSQL_ROWVALUE | -15011 | HY107 | Row value out of range |
eSQL_CURPOS | -15012 | HY109 | Invalid cursor position |
eSQL_NOSETATTR | -15013 | HY110 | Attribute cannot be set now |
eSQL_CURSTATE | -15014 | 24000 | Invalid cursor state |
eSQL_NOTSELECT | -15015 | 24000 | Current/cursor's statement is not SELECT |
eSQL_ESCAPECHAR | -15016 | 22019 | Invalid escape character |
eSQL_INVSTATE | -15017 | HY000 | Invalid statement state |
eSQL_WHERECALCS | -15018 | 42000 | Aggregate functions not allowed in WHERE |
eSQL_INVPARAM | -15019 | 42000 | Invalid use of parameter marker |
eSQL_DUPPROC | -15020 | 42000 | Duplicate stored procedure name |
eSQL_NOPROC | -15021 | HY000 | Stored procedure/function not found |
eSQL_NUMARGS | -15022 | 21000 | Invalid number of arguments specified |
eSQL_BADOUTERJOIN | -15023 | HY000 | No access path between outer joined tables |
eSQL_HDBCINUSE | -15024 | 08002 | Connection already in use |
eSQL_UDF | -15025 | 38000 | User-defined function error |
eSQL_NORETURNVAL | -15026 | 2F005 | No result value returned from function |
eSQL_UDFDEFN | -15027 | HY000 | UDFLOADTABLE entry definition error |
eSQL_UDFARG | -15028 | 22023 | Invalid function argument type |
eSQL_UDFNOARGS | -15029 | 21000 | Incorrect number of function arguments |
eSQL_INSERTCOLREF | -15030 | 42000 | Invalid column reference in INSERT expression |
eSQL_DUPJOINCOL | -15031 | 42000 | Duplicate join column |
eSQL_NOJOINCOLMATCH | -15032 | 42000 | No matching join columns |
eSQL_SORTCOLREF | -15033 | 42000 | Invalid order/group by column reference |
eSQL_FCNARG | -15034 | 21000 | Invalid function argument |
eSQL_NUMFCNARGS | -15035 | 21000 | Invalid number of specified function arguments |
eSQL_INVSTMT | -15036 | HY010 | Invalid statement type |
eSQL_CANCELLED | -15037 | HY008 | Statement execution cancelled by user |
eSQL_GROUPBYAGGFN | -15038 | 42000 | Aggregate functions not allowed in GROUP BY |
eSQL_TXUNKNOWN | -15039 | 25S01 | Transaction state unknown |
eSQL_NOTPREPARED | -15040 | HY007 | Associated statement is not prepared |
eSQL_INVTXTYPE | -15041 | HY012 | Invalid transaction operation code |
eSQL_PARMTYPE | -15042 | HY105 | Invalid parameter type |
eSQL_TIMEOUT | -15043 | HYT00 | Timeout expired |
eSQL_IEF | -15044 | HY000 | Import/export error |
eSQL_REMOTEERROR | -15045 | 08S01 | JNI/ADO.Net system error |
eSQL_COMERROR | -15046 | 08S01 | RPC communication error |
eSQL_LOCKSACTIVE | -15047 | HY000 | Operation not allowed due to active read locks |
eSQL_MULTIDBTRANS | -15048 | HY000 | Multiple database transactions are not allowed |
eSQL_NOTUPDATEABLE | -15049 | 0U000 | SELECT or column is not updateable |
eSQL_BLOBEXPR | -15050 | HY000 | Blobs cannot be referenced in expressions |
eSQL_DATAATEXEC | -15051 | HY000 | Data-at-exec parameters only allowed with INSERT VALUES/UPDATE |
eSQL_BLOBPARSONLY | -15052 | HY000 | Data-at-exec parameters only allowed for blob (long var...) columns |
eSQL_BADBLOBPAR | -15053 | HY000 | Data-at-exec paramater type not compatible with blob (long var...) column |
eSQL_LOCKMODE | -15054 | HY000 | Illegal locking mode |
eSQL_NOUPDCOLS | -15055 | 42000 | No columns have been updated |
eSQL_AUTOCOMMIT | -15056 | HY000 | Operation not allowed when autocommit is enabled |
eSQL_CURSORTABLE | -15057 | 0T000 | Positioned UPDATE/DELETE table does not match cursor's |
eSQL_RDONLYFLAG | -15058 | 25000 | Inconsistent read-only transaction commit/rollback/end call |
eSQL_TABLEREF | -15059 | 42000 | Duplicate table reference in FROM clause |
eSQL_NESTEDAGGS | -15060 | 42000 | Cannot call an aggregate function within an aggregate function |
eSQL_CHARREQD | -15061 | 2200G | CHAR type is required |
eSQL_CONNECT | -15062 | 08001 | Unable to connect |
eSQL_UNIONOPEN | -15063 | HY000 | Database union open invalid when other database is open |
eSQL_NOBLOBSORT | -15064 | 42000 | Sorting on a blob column is not allowed |
eSQL_NOBLOBGROUP | -15065 | 42000 | Blob columns cannot be referenced in a SELECT with GROUP BY |
eSQL_DIFFCONNS | -15066 | HY000 | Statements from different connections |
eSQL_OUTERJOIN | -15067 | HY000 | Unable to process outer join specification |
eSQL_NOWHEREBLOB | -15068 | 42000 | Blob columns cannot be used in WHERE clause of a SELECT with ORDER BY |
eSQL_NAMEDPARAM | -15069 | HY000 | Named parameter not found |
eSQL_NOTINUDF | -15070 | HY000 | Function cannot be called from a UDF |
eSQL_GROUPRESULT | -15071 | 42000 | Result column must have aggregate function call |
eSQL_INVCURSOR | -15072 | 34000 | Invalid cursor name |
eSQL_CURSORTAB | -15073 | 0T000 | Target table does not match cursor specification |
eSQL_FORUPDCOL | -15074 | 42000 | FOR UPDATE column not in SELECT list |
eSQL_INVPROC | -15075 | HY000 | Stored procedure has an invalid version |
eSQL_NOTUDFAGG | -15076 | 42000 | DISTINCT can only be specified with aggregate UDF |
eSQL_INVROWIDVAL | -15078 | 22000 | Invalid rowid value |
eSQL_NOINSERTID | -15079 | HY000 | No last_insert_id is available |
eSQL_INVSELECT | -15080 | 42000 | SELECT cannot have ORDER/GROUP BY clause |
eSQL_GROUPBYPARMS | -15082 | 42000 | GROUP BY column expressions cannot have parameter markers |
eSQL_INVARMISMATCH | -15083 | 42000 | Variant argument value in INVAR aggregate function |
eSQL_SORTCOST | -15084 | 22003 | Sort cost factor must be > 0.0 and < 1.0 |
eSQL_DEBUGMODE | -15086 | 22003 | Valid debug mode values are 0,1,2,3 |
eSQL_BADSCALE | -15087 | HY104 | Invalid DECIMAL scale. Must be >= 0 and <= prec |
eSQL_TOOMANYROWS | -15088 | 21000 | Subquery returns more than 1 row |
eSQL_AMBIGUOUSCOLREF | -15089 | 42000 | Column with this name declared in more than one of the referenced tables |
eSQL_NOHIDDENCOLS | -15090 | 42000 | Hidden columns not allowed in this context |
eSQL_ROWNUMBER | -15091 | 42000 | ROWNUMBER() can only be used with a SELECT statement |
eSQL_LABELMISMATCH | -15092 | 42000 | END label missing or doesn't match block label |
eSQL_UNDECLAREDVARREF | -15093 | 42000 | Reference to undeclared variable |
eSQL_NOAGGINASGT | -15094 | 42000 | Aggregate functions not allowed in assignment statement |
eSQL_PROCGLOBALREF | -15095 | 42000 | Stored procedure references an undeclared global variable |
eSQL_NOVALGLOBAL | -15096 | 42000 | No value assigned to the global variable |
eSQL_INARGASGT | -15097 | 42000 | Assignment to input only argument or condition |
eSQL_OUTARGCALL | -15098 | 42000 | Output argument must map to a variable |
eSQL_NOOERRCODE | -15099 | 42000 | Sqlstate/error/condition code not defined |
eSQL_CASENOTFOUND | -15100 | 20000 | Case not found for CASE statement |
eSQL_OUTARGS | -15101 | 42000 | INOUT/OUT arguments are not allowed in functions |
eSQL_INVRETURN | -15102 | 42000 | RETURN statements are not allowed in procedures |
eSQL_RESULTSET | -15103 | 42000 | Cursors/SELECTs that return result sets are not allowed in handlers, functions or triggers |
eSQL_RETURNTYPE | -15104 | 2200G | Data type of RETURN expression is not compatible with function |
eSQL_ALIASEDCOLSREQD | -15105 | 42000 | All result column expressions must be aliased in DECLARE CURSOR's SELECT |
eSQL_CURNOTDECLARED | -15106 | 42000 | Cursor not declared |
eSQL_USEINPROCONLY | -15107 | 42000 | FOUND test can only be used in stored procedure/function |
eSQL_FETCHVARS | -15108 | OT000 | FETCH INTO variable list cursor column count mismatch |
eSQL_FETCHVARDATATYPE | -15109 | 2200G | FETCH INTO variable data type incompatible with corresponding result column type |
eSQL_NORESULTSETS | -15110 | 42000 | WITH RETURN cursor not allowed with this procedure (DYNAMIC RESULT SETS = 0) |
eSQL_DUPVARREF | -15111 | 42000 | Variable is already declared |
eSQL_NOTROWVAR | -15112 | 42000 | Identifier is not a declared row variable or BEGIN label |
eSQL_ROWVARREF | -15113 | 42000 | Illegal row variable reference |
eSQL_GLOBALVARREF | -15114 | 42000 | Illegal global variable reference |
eSQL_NOTROWVARCOL | -15115 | 42000 | Identifier is not a column of the specified row variable |
eSQL_NOTBLOCKVAR | -15116 | 42000 | Identifier is not declared in specified block |
eSQL_TOOMANYROWVARS | -15117 | 42000 | Only one row variable can be declared for a cursor |
eSQL_WRONGROWVAR | -15118 | 42000 | Row variable is not declared for this cursor |
eSQL_LABELNOTFOUND | -15119 | 42000 | Statement with specified label not found |
eSQL_FORCURSOR | -15120 | 42000 | Statement not allowed on FOR cursor name |
eSQL_ARGREF | -15121 | 42000 | Procedure/function argument not found |
eSQL_BADARGFORM | -15122 | 42000 | Invalid procedure/function argument specification |
eSQL_PREPVAROUT | -15123 | 42000 | PREPARE statement variable cannot be an OUT variable |
eSQL_PREPVARROW | -15124 | 42000 | PREPARE statement variable cannot be a ROW variable |
eSQL_PREPVARTYPE | -15125 | 42000 | PREPARE statement variable must be a CHAR type |
eSQL_BADINTOVARTYPE | -15126 | 42000 | EXECUTE INTO variable type is not assignable |
eSQL_DUPPREPNAME | -15127 | 42000 | Duplicate PREPARE statement name |
eSQL_PREPNOTFOUND | -15128 | 42000 | PREPARE statement not found |
eSQL_PREPNOPARAMS | -15129 | 42000 | Parameter markers are not allowed in PREPARE statement |
eSQL_PREPNOTSELECT | -15130 | 42000 | PREPARE statement must be a SELECT for EXECUTE INTO |
eSQL_EXECNEEDSINTO | -15131 | 42000 | EXECUTE must have INTO clause for a PREPARE of SELECT statement |
eSQL_PREPUNALLOWABLE | -15132 | 42000 | Statement type not allowed in PREPARE |
eSQL_PREPNOCOLS | -15133 | 0T000 | PREPARE SELECT number of result columns does not match EXECUTE INTO |
eSQL_NOTCONDITION | -15134 | 42000 | Referenced variable is not a named condition |
eSQL_GENEXCEPTION | -15135 | 42000 | Cannot mix general and specific conditions in one handler |
eSQL_DUPCONDITION | -15136 | 42000 | Duplicate condition spec'd in same handler or other handler in same scope |
eSQL_UNDONOTATOMIC | -15137 | 42000 | BEGIN must specify ATOMIC within an UNDO handler |
eSQL_HANDLERNOTFOUND | -15138 | 45000 | Handler not found for condition |
eSQL_RESIGNAL | -15139 | 0K000 | Resignal when handler not active |
eSQL_INVDIAGITEM | -15140 | 42000 | Invalid diagnostics item info name |
eSQL_MSGTEXT | -15141 | 42000 | MESSAGE_TEXT expected |
eSQL_NODIAGSINFO | -15142 | 0Z000 | No diagnostics info is available |
eSQL_INVCONDNUM | -15143 | 35000 | Invalid condition number |
eSQL_MAXDIAGSAREA | -15144 | 0Z001 | Maximum number of stacked diagnostics areas exceeded |
eSQL_DIAGNOTSTACKED | -15145 | 0Z002 | Stacked diagnostics accessed without active handler |
eSQL_PROCEXISTS | -15146 | HY000 | Another stored procedure/function with same name has been created |
eSQL_TRMODE | -15147 | 42000 | Transaction mode can be specified only once |
eSQL_BEGINTRANS | -15148 | 42000 | BEGIN TRANSACTION can only be specified with first BEGIN |
eSQL_ATOMIC | -15149 | 42000 | Statement cannot be used in a BEGIN ATOMIC/TRANSACTION block |
eSQL_MODIFIES | -15150 | 2F002 | Read only stored proc/func contains modification statements |
eSQL_SYSCAT | -15151 | 42000 | Invalid operation on SYSTEM CATALOG |
eSQL_SQLSTATESIGNAL | -15152 | HY000 | Unhandled signaled SQLSTATE condition |
eSQL_NOTDETERMINISTIC | -15153 | 42000 | Simple CASE expression cannot call a non-deterministic function |
eSQL_LEAVEHANDLER | -15154 | 42000 | LEAVE to a block outside of a condition handler is not allowed |
eSQL_ASGTEXPRCOUNT | -15155 | 42000 | Number of variables in multiple SET assignment does not match number of expressions |
eSQL_NOTINFORLOOP | -15156 | 42000 | COMMIT/ROLLBACK not allowed in FOR loop |
eSQL_DUPLICATELABEL | -15157 | 42000 | Duplicate block or loop label |
eSQL_CALLFUNCTION | -15158 | 42000 | Functions cannot be called using the CALL statement |
eSQL_TRIGDBMISMATCH | -15159 | 42000 | Table's database name does not match trigger's |
eSQL_TRIGCOLLIST | -15160 | 42000 | Column list can only be used with UPDATE triggers |
eSQL_BEGINATOMIC | -15161 | 42000 | A compound trigger action must be BEGIN ATOMIC |
eSQL_TRIGEXISTS | -15162 | HY000 | Another trigger with same name has been created |
eSQL_WHENFCN | -15163 | 42000 | Functions ref'd in WHEN clause cannot be MODIFIES SQL |
eSQL_NOTINTRIGGER | -15164 | 42000 | Transactions cannot be used in a trigger |
eSQL_NOTRIG | -15165 | 42000 | Trigger not found |
eSQL_NOINSERTVALS | -15167 | 42000 | Syntax error where no columns are present after the keyword 'VALUES' |
eSQL_DEFINSERTVALS | -15168 | 42000 | Syntax error where columns are present after 'DEFAULT VALUES' |
eSQL_INVARRAYTYPE | -15169 | 22000 | Invalid array element value |
eSQL_NOTARRAY | -15170 | 42000 | Not an array value/column/variable |
eSQL_BADSUBSCRIPT | -15171 | 42000 | Subscript value is out of range |
eSQL_INVARRAYOP | -15172 | 42000 | Invalid array operation |
eSQL_RECURSIVEPROC | -15173 | HY000 | Recursive stored procedures and triggers are not allowed |
eSQL_SYSTEM | -15175 | HY000 | System error |
eSQL_NOTFSSQL | -15176 | 08001 | Server doesn't have the SQL capability |
eSQL_NODBOPEN | -15177 | 3D000 | No databases are open |
eRDBC_BADCTYPE | -17000 | HY004 | Invalid C data type |
eRDBC_BADSTYPE | -17001 | HY004 | Invalid SQL data type |
eRDBC_NOMEMORY | -17002 | HY013 | Driver out of memory |
eRDBC_TYPEATTR | -17003 | HY024 | Data type attribute violation |
eRDBC_NOTCAPABLE | -17004 | IM001 | Driver not capable |
eRDBC_DESCRANGE | -17005 | HY091 | Invalid descriptor field identifier |
eRDBC_INVDESCIDX | -17006 | 07009 | Invalid descriptor index |
eRDBC_NOTCURSOR | -17007 | 07005 | Prepared statement is not a valid cursor |
eRDBC_INVIRDMOD | -17008 | HY016 | Cannot modify an implementation row descriptor |
eRDBC_INVOPENMODE | -17009 | 01S00 | Invalid database open mode |
eRDBC_NOINDVAR | -17011 | 22002 | Indicator variable required but not supplied |
eRDBC_CLOSEHDBC | -17012 | 01002 | Connection not closed |
eRDBC_OPENHDBCS | -17013 | 01002 | Must free all connection handles first |
eRDBC_AUTODESCR | -17014 | HY017 | Invalid use of implicit descriptor handle |
eRDBC_ATTRVALUE | -17015 | HY024 | Invalid attribute value |
eRDBC_FCNRANGE | -17016 | HY095 | Function type out of range |
eRDBC_INVOPNOW | -17017 | HY010 | Invalid operation at this time |
eRDBC_BADDESCINFO | -17018 | HY021 | Inconsistent descriptor information |
eRDBC_CONCATNULL | -17019 | HY020 | Attempt to concatenate a null value |
eRDBC_COLRANGE | -17020 | HY097 | Column type out of range |
eRDBC_SCOPERANGE | -17021 | HY098 | Scope out of range |
eRDBC_NULLRANGE | -17022 | HY099 | Nullable type out of range |
eRDBC_UNIQUERANGE | -17023 | HY100 | Uniqueness option type out of range |
eRDBC_ACCURANGE | -17024 | HY101 | Accuracy option type out of range |
eTX_DISABLED | -18000 | HTTP listener is disabled | |
eTX_TRUNCATED | -18001 | Data retrieved had to be truncated | |
eTX_NETREAD | -18002 | Failure to read data from network | |
eTX_NETWRITE | -18003 | Failure to write data to network | |
eTX_CONNECT | -18004 | 08S01 | Failed to connect to server |
eTX_HOSTNAME | -18005 | 08S01 | Host name not found |
eTX_ACCEPT | -18006 | TCP/IP accept failure | |
eTX_LISTEN | -18007 | TCP/IP listen failure | |
eTX_NO_REMOTE | -18008 | Remote connections not allowed | |
eTX_GENERROR | -18009 | Generic TX error | |
eSYS_BADERRCODE | -20000 | HY000 | Invalid RDM_ RETCODE value |
eSYS_ERRACTIVE | -20001 | Error function call not allowed when another error is active | |
eSYS_DCHAIN | -20003 | Bad dchain | |
eSYS_BADTREE | -20004 | B-tree malformed | |
eSYS_BADHASH | -20005 | Hash malformed | |
eSYS_KEYEXIST | -20006 | Key value already exists | |
eSYS_BADOPTKEY | -20007 | Calculating optkey index | |
eSYS_BADFREE | -20008 | Attempt to free empty table | |
eSYS_ERROR | -20009 | Unexpected system error | |
eSYS_NOSQLSTATE | -20010 | HY000 | Unexpected empty SQL state |
Return Codes Sorted by Name
Name | Value | SQLState | Description |
---|---|---|---|
eALREADYLOCKED | -10115 | The table is already locked. This is only being returned to the inline vacuumer when user already has the table locked | |
eBADCAT | -10004 | 42000 | Bad catalog (error trying to read catalog file) |
eBADCATVER | -10114 | 42000 | Bad catalog version (catalog version incompatible with the runtime) |
eBADDATALEN | -10049 | HY090 | Invalid string or buffer length |
eBADLOCKS | -12046 | Inconsistent database locks | |
eBADREAD | -10037 | Error reading from a file | |
eBADSNAPSHOTMODE | -10085 | 25S01 | Invalid snapshot mode |
eBADWILDALL | -10083 | 42000 | Bad wild all character (must be '%' or '*') |
eBADWILDONE | -10084 | 42000 | Bad wild one character (must be '_', '.', or '?') |
eBADWRITE | -10038 | Error writing to a file | |
eBASE_COMMAND | -11002 | Command line argument processor error | |
eBASE_INVDATE | -11000 | Invalid date value | |
eBASE_INVTIMEZONE | -11001 | Invalid time zone value | |
eBASE_QUEUE_CLOSED | -11003 | No more messages can be written since the queue is closed | |
eBLOBBADPOSITION | -12035 | Invalid blob offset position | |
eBLOBBADSIZE | -12034 | Not enough data in the blob to satisfy the read request | |
eBROKENPIPE | -10112 | Failed to read or write since the other end have closed the connection | |
eCATMISMATCH | -12062 | Catalog in memory does not match Catalog on disk | |
eCHECK | -10015 | 40002 | Check clause violation |
eCIRTABDELETE | -10026 | Cannot delete rows from a circular table | |
eCOLCOUNTMISMATCH | -10075 | Invalid number column values provided for the table | |
eCOLNOTFOUND | -10094 | 42S22 | Column not declared |
eCOMPOUNDKEY | -12040 | Column is in a compound key | |
eCONNNOTOPEN | -10088 | 08003 | Connection is not open |
eCURSORDB | -12006 | Cursor is associated with a different database | |
eDATALOST | -10053 | Significant data lost due to truncation | |
eDBCORRUPTED | -10103 | 42000 | Database corruption |
eDBCORRUPTIONMISSINGFILE | -12103 | A database file is missing | |
eDBCORRUPTIONTRUNCATEDFILE | -12104 | A database file has been truncated from its required size | |
eDBDREAD | -12058 | Error reading dbd file | |
eDBD_NONAMES | -12064 | Incompatible legacy DBD file - does not contain record/field/set name | |
eDBEXISTS | -10071 | 42000 | Database already exists |
eDBNOTCLOSED | -10063 | Option requires database to be closed | |
eDBNOTOPEN | -10001 | 3D000 | Database not open |
eDBOPEN | -10002 | 82117 | Database already opened in this task |
eDBOPENED | -12076 | Operation not completed because database is open | |
eDDL_ALTERACT | -14551 | 42000 | Invalid ALTER action spec |
eDDL_ALTERCHECK | -14523 | 0A000 | CHECK constraint not allowed in ALTER COLUMN |
eDDL_ALTERCOL | -14548 | 42000 | Invalid ALTER COLUMN spec |
eDDL_ALTERTYPE | -14529 | 0A000 | Cannot change column to specified data type |
eDDL_BADDATATYPE | -14506 | 42000 | Invalid data type |
eDDL_BADRTREECOLS | -14557 | 0A000 | Only one array column allowed for a R-tree index |
eDDL_BADRTREELEN | -14558 | 0A000 | The array size for an R-tree index must be 2, 4, or 6 |
eDDL_BADVARPREC | -14514 | 22000 | Invalid variable length column precision |
eDDL_BINLEN | -14516 | 22000 | Must specify '(length)' with binary columns |
eDDL_COLCONSTRAINT | -14540 | 42000 | Invalid column constraint spec |
eDDL_COLDECL | -14539 | 42000 | Invalid column declaration spec |
eDDL_COLDOMCONSTR | -14526 | 42000 | Column constraint defined in domain |
eDDL_COLTYPE | -14538 | 42000 | Column declarations must begin with name followed by type |
eDDL_COLWITHDEFVAL | -14561 | 42000 | Cannot add a column with the default value to a table that has rows |
eDDL_CONDEXPR | -14536 | 42000 | Invalid conditional expression spec |
eDDL_CONSTRNAME | -14519 | 42000 | Constraint name used more than once |
eDDL_CONSTRNOTFOUND | -14524 | 42000 | Constraint not found |
eDDL_CRDBACTIVE | -14501 | RD001 | A CREATE/ALTER DATABASE is already active |
eDDL_DBEXISTS | -14535 | 3D000 | Database already exists |
eDDL_DBNAMEINTABLE | -14563 | 42000 | Database name may not be specified with a table name in DDL |
eDDL_DEFAUTO | -14512 | 42000 | DEFAULT AUTO is not allowed (only with guid/rowid type) |
eDDL_DEFCURRENT | -14513 | 42000 | DEFAULT CURRENT is not allowed (only with date/time types) |
eDDL_DISPLAY | -14537 | 42000 | Invalid DISPLAY clause spec |
eDDL_DOMAINCHECK | -14534 | 0A000 | Cannot specify a CHECK clause for a column declared as domain type |
eDDL_DOMNOTFOUND | -14505 | 42000 | Domain not declared |
eDDL_DROPCOLUMN | -14521 | 0A000 | Cannot DROP COLUMN: column is used in constraint--drop constraint first |
eDDL_DROPDOMAIN | -14533 | 0A000 | Cannot drop a domain that is being used by a column |
eDDL_DROPFKCOL | -14532 | 0A000 | Cannot drop a foreign key on a column used in a key--drop key first |
eDDL_DROPNOTNULL | -14522 | 0A000 | Cannot DROP NOT NULL: column is not defined as NOT NULL |
eDDL_DROPREFDKEY | -14527 | 0A000 | Cannot drop a referenced unique/primary key |
eDDL_DROPTABLE | -14531 | 0A000 | Cannot drop table referenced by a foreign key |
eDDL_DUPCOLNAME | -14508 | 42S21 | Duplicate column name |
eDDL_DUPCOLUMN | -14503 | 42S21 | Column with same name already declared in table |
eDDL_DUPTABNAME | -14507 | 42S01 | Duplicate table name |
eDDL_ERRORS | -14547 | 42000 | DDL errors were found |
eDDL_FKCOLINFK | -14528 | 0A000 | A column can only be used in one foreign key |
eDDL_FKMISMATCH | -14509 | 42000 | Foreign/primary key columns do not match |
eDDL_FORKEYSPEC | -14546 | 42000 | Invalid foreign key/references spec |
eDDL_HASPRIKEY | -14552 | 42000 | Table already has a primary key defined |
eDDL_INDEXMETHOD | -14542 | 42000 | Invalid USING index method |
eDDL_INVCHGFORKEY | -14562 | 42000 | Cannot change a foreign key constaint when the key columns have non-null values |
eDDL_INVDEF | -14555 | 42000 | Invalid default specification for the type |
eDDL_KEYSPEC | -14545 | 42000 | Invalid key spec |
eDDL_MAXROWSVALUE | -14518 | 22000 | MAXROWS value must be >0 |
eDDL_NEEDTABLE | -14530 | 42000 | Table name must be specified |
eDDL_NOARRAYS | -14549 | 0A000 | Arrays are not allowed with this data type |
eDDL_NOBLOBS | -14550 | 0A000 | Blobs not allowed in virtual tables |
eDDL_NODBNAME | -14554 | 42000 | Default database name not provided |
eDDL_NOHASHORDER | -14556 | 0A000 | Column orders are not allowed on a hash index |
eDDL_NOLOBKEYS | -14553 | 0A000 | Large object columns cannot be keyed |
eDDL_NOMAXROWS | -14517 | 42000 | Must specify 'MAXROWS=value' with circular tables |
eDDL_NONUNIQUEHASH | -14559 | 42000 | Hash index must be unique |
eDDL_NOPRIKEY | -14511 | 42S12 | Referenced table does not have referenced primary key |
eDDL_NOREFDTABLE | -14525 | 42S02 | Referenced table not found |
eDDL_NOTWITHDOMAIN | -14504 | 42000 | Not allowed with columns declared with domain |
eDDL_NULLCONFLICT | -14520 | 42000 | NOT NULL constraint specified for a column that has NULL values or a NULL default value |
eDDL_ONACTION | -14544 | 42000 | Invalid ON UPDATE/DELETE action spec |
eDDL_ORDERBY | -14543 | 42000 | Invalid ORDER BY spec |
eDDL_REFNULL | -14510 | 42000 | A referenced key must have at least one NOT NULL column |
eDDL_TABCONSTRAINT | -14541 | 42000 | Invalid table constraint spec |
eDDL_TABREFFEDINPL | -14560 | 0A000 | Cannot drop a table referenced in a procedure or trigger on another table |
eDDL_VARCHARLEN | -14515 | 22000 | Must specify '(length)' with variable size columns |
eDDL_WRONGDB | -14502 | RD002 | Table must be created in the active database |
eDEBUG | -12052 | Debugging check interrupt | |
eDEFUNCT | -12000 | Function no longer supported/defunct | |
eDELETED | -12019 | The current row has been deleted | |
eDEPRECATED | -10078 | This feature is deprecated | |
eDIVBY0 | -10089 | 22012 | Division by zero |
eDROPONLYCOL | -10099 | 42000 | Illegal attempt to drop the only column of the table |
eDROPPED | -12090 | Attempt to access a cursor based on an item that has been dropped | |
eDROPTRIGCOL | -10104 | 42000 | Illegal attempt to drop a column referenced by trigger |
eDUPLICATE | -10013 | 40002 | Attempt to insert a duplicate value as a unique/primary key |
eDUPUSERID | -10043 | DBUSERID is already in use | |
eENCRYPTMISMATCH | -12054 | Encryption passcodes do not match | |
eEOD | -10072 | Insufficient data | |
eEOF | -10111 | Reached the end of the file or input string | |
eEOS | -12038 | End of set | |
eESCAPE | -10069 | 42000 | Escape clause syntax error |
eEXCLUSIVE | -10003 | Exclusive access required | |
eFAIL | -1 | General failure | |
eFILEACCESS | -10107 | Unable to open file due to access restrictions | |
eFILEEXIST | -10108 | Unable to create file due to an already existing file | |
eFILEINUSE | -10035 | File in use | |
eFILEIO | -10028 | File I/O error | |
eFILEISDIR | -10110 | File is a directory | |
eFILENOENTRY | -10109 | Unable to open file since it does not exist | |
eFILEOPEN | -10029 | Unable to open file | |
eHASMEMBERS | -10077 | 23000 | Referential Integrity error - row is referenced by other rows |
eHASOWNER | -12036 | The row references other rows | |
eIMPBADDATA | -12070 | Bad data | |
eIMPBADXML | -12069 | Bad xml | |
eINCOMPAT | -12073 | Incompatible dictionary file | |
eINMEMMISMATCH | -10082 | Attempting to open a database that is already open with differing in-memory options | |
eINNESTEDUPDATE | -12092 | Function is not allowed from a nested update transaction, it can only be called from the root update transaction | |
eINSERTVALS | -10096 | 21S01 | Insert value list does not match column list |
eINVALID | -10091 | Invalid encoding | |
eINVARG | -10064 | 22000 | Invalid argument |
eINVARGTYPE | -10065 | 22000 | Invalid argument type |
eINVBCD | -10041 | Invalid BCD value | |
eINVBINLITERAL | -10054 | Invalid binary literal specification | |
eINVCOLID | -12014 | Invalid column id | |
eINVCONVERT | -10059 | HYC00 | Invalid data type conversion |
eINVCURSORCOL | -12031 | The specified column is not in the table the cursor is associated with | |
eINVCURSORID | -12003 | Invalid cursor id | |
eINVCURSORKEY | -12032 | The specified key is not in the table the cursor is associated with | |
eINVCURSOROP | -12018 | Invalid operation for this cursor | |
eINVDATEFMT | -12081 | 22007 | Invalid date format |
eINVDATESEP | -12082 | 22007 | Invalid date separator |
eINVDB | -12068 | Invalid database | |
eINVDBA | -12061 | Invalid dba format | |
eINVDBID | -12002 | Invalid db id | |
eINVDBNAMESPEC | -10033 | Invalid database name specification | |
eINVENCRYPT | -12053 | 28000 | Invalid encryption key |
eINVENDIAN | -12059 | Invalid endian format | |
eINVFCNARG | -10021 | Invalid function argument | |
eINVFCNSEQ | -10023 | HY010 | Function sequence error |
eINVFILE | -12056 | Invalid file type for operation | |
eINVFORUNION | -12008 | Invalid operation on unioned db | |
eINVHANDLE | -10086 | 02002 | Invalid handle |
eINVID | -10073 | Invalid 'internals' id | |
eINVIDENTIFIER | -12017 | Invalid id value | |
eINVINFOKEY | -10102 | Invalid information key value | |
eINVITERATION | -12029 | Invalid attempt to move cursor before 'BeforeFirst' or past 'AfterLast' | |
eINVKEYID | -12012 | Invalid key id | |
eINVKEYSPEC | -12049 | Invalid key specification | |
eINVKEYVALUE | -10040 | Invalid key/value pair | |
eINVLITERAL | -10024 | 22005 | Invalid literal constant specification |
eINVLOCALE | -12086 | Invalid collation locale | |
eINVLOCKTYPE | -12011 | Invalid lock type | |
eINVNULLARG | -10022 | HY009 | Function argument cannot be NULL |
eINVOPENMODE | -12075 | 42000 | Invalid database open mode |
eINVOPFORBLOB | -12074 | Invalid operation for a BLOB column | |
eINVOPTION | -10061 | HY092 | Invalid option identifier is specified |
eINVOPTIONVALUE | -10062 | Invalid option value | |
eINVREFID | -12016 | Invalid reference (set) id number | |
eINVROWIDVAL | -10050 | Invalid rowid value | |
eINVSQLTYPE | -10087 | HY004 | Invalid SQL data type |
eINVSTORAGETYPE | -12091 | HY092 | Only INMEMORY_LOAD or INMEMORY_PERSIST databases can be persisted |
eINVSTRING | -12060 | Invalid string format | |
eINVTABID | -12015 | Invalid table id | |
eINVTASKID | -12001 | Invalid task id | |
eINVTFSID | -12007 | Invalid TFS id | |
eINVTFSSPEC | -10034 | Invalid TFS specification | |
eINVTIMEFMT | -12083 | Invalid time format | |
eINVTIMEOUT | -10079 | Invalid timeout value | |
eINVTRANSID | -12004 | Invalid transaction id | |
eINVTRID | -10066 | 25000 | Invalid transaction id |
eINVTRIGSTMT | -10097 | 0W000 | Prohibited statement encountered during trigger execution |
eINVUNICODE | -10074 | Invalid Unicode string | |
eINVUTF | -10060 | Invalid UTF string | |
eINVVARINT | -10052 | Invalid variable integer value | |
eISCOMPOUNDKEY | -12039 | Column is a compound key | |
eISOWNED | -12037 | The member row is already owned | |
eISRTREE | -12089 | The key specified is an rtree index | |
eKEYCOLCOUNTMISMATCH | -10076 | Invalid number column values provided for the key | |
eKEYERR | -12041 | Key inconsistency detected | |
eKEYREQD | -12013 | Key value required | |
eKEYSEQ | -12042 | Field type used out of sequence in d_keynext | |
eLEGACYAPI | -10080 | Call to a legacy API from a database handle not opened in legacy mode | |
eLEGACYDB | -10081 | Call non-legacy API from a database handle opened in legacy mode | |
eLOCALEMISMATCH | -12087 | HY000 | Attempt to open database with incorrect (or no) locale |
eLOSTPOSITION | -12030 | Cursor position was lost and must be reset | |
eMISSINGLITERAL | -10025 | Syntax error where we expected a literal constant specification | |
eMIXEDTRANS | -12085 | 42000 | DDL and DML transactions cannot be mixed |
eMKDIR | -10045 | Unable to create directory | |
eMULTIPLE_DBS | -12071 | Open multiple dbs in one call is not supported by this API, Use multiple calls | |
eNOCOLUMNVALUE | -12079 | No column value was specified, the column does not have a default, and cannot be null | |
eNOCURRENTMEMBER | -12027 | No current member row | |
eNOCURRENTOWNER | -12026 | No current owner row | |
eNOCURRENTROW | -12025 | The cursor is not positioned to a valid row | |
eNOCURRTYPE | -12077 | No current table type | |
eNODB | -10016 | 42000 | Database not found |
eNOMEMORY | -10000 | HY001 | Out of memory |
eNOREPLICATE | -12094 | Replication have not been enabled for this DB handle and replication functions can therefore not be called | |
eNOSPACE | -10031 | Out of disk space | |
eNOSTART | -10008 | 25005 | No rdm_dbStartRead(), rdm_dbStartSnapshot(), or rdm_dbStartUpdate() is active |
eNOSTARTREAD | -10010 | 25005 | A read operation was attempted when no rdm_dbStartSnapshot(), rdm_dbStartRead(), or rdm_dbStartUpdate() is active |
eNOSTARTUPDATE | -10009 | 25005 | An update operation was attempted when no rdm_dbStartUpdate() is active |
eNOSTATS | -10098 | No statistics is associated with this database | |
eNOTANUMBER | -10090 | A calculation returned not a number | |
eNOTBLOB | -12010 | Column is not a BLOB or CLOB | |
eNOTFOUND | -10047 | Not found | |
eNOTFREE | -10012 | 25000 | Attempt to lock already locked table |
eNOTIMPLEMENTED | -10020 | HYC00 | Function/feature not implemented |
eNOTINCURSOR | -12033 | The row is not in the cursor | |
eNOTKEY | -12009 | Column is not a key | |
eNOTLINKED | -12028 | The cursor is positioned to a row that is not linked to the specified reference id | |
eNOTLOCKED | -10011 | 25000 | Attempt to access a table for reading or update without proper locks |
eNOTMEMBER | -12023 | The cursor's rows are not members of the specified set | |
eNOTNULL | -10027 | 42000 | Must specify value for column |
eNOTOWNER | -12022 | The cursor's rows are not owners of the specified set | |
eNOTRANSID | -12005 | No transaction id specified | |
eNOTRELATED | -12024 | Items are not related | |
eNOTROOTUPDATETRANS | -10068 | You can only precommit the root update transaction | |
eNOTRTREE | -12088 | The key specified is not an rtree index | |
eNOTSUPPORTED | -10067 | IM001 | Function not supported |
eNOT_ENCRYPTED | -12065 | The database is not encrypted | |
eNOUPDATE | -10106 | Transaction handle does not refer to an update transaction | |
eNULLCOLUMNVALUE | -12080 | HY000 | NULL column value was specified, and the column cannot be null |
eOPENMODE | -10019 | 42000 | Invalid db open mode |
eOWNERDELETED | -12020 | The owner row for a set cursor has been deleted | |
ePRECOMMITTED | -10032 | A precommitted transaction must be committed or rolled back before further operations on this database are allowed | |
ePSP_DEADLOCK | -14009 | Mutex deadlock in the PSP library | |
ePSP_FAILURE | -14000 | General failure in the PSP library | |
ePSP_INVPASS | -14005 | Invalid password | |
ePSP_INVUSER | -14004 | Invalid user | |
ePSP_INVUUID | -14008 | Invalid UUID in the PSP library | |
ePSP_MUTEX_FAILURE | -14001 | Mutex failure in the PSP library | |
ePSP_NODEST | -14007 | Invalid destination | |
ePSP_NOSOURCE | -14006 | Invalid source | |
ePSP_PRIV | -14003 | Insufficient privilege | |
ePSP_TERMINATE | -14010 | Signal received for termination | |
eRANGE | -10039 | 22003 | Numeric value out of range |
eRDBC_ACCURANGE | -17024 | HY101 | Accuracy option type out of range |
eRDBC_ATTRVALUE | -17015 | HY024 | Invalid attribute value |
eRDBC_AUTODESCR | -17014 | HY017 | Invalid use of implicit descriptor handle |
eRDBC_BADCTYPE | -17000 | HY004 | Invalid C data type |
eRDBC_BADDESCINFO | -17018 | HY021 | Inconsistent descriptor information |
eRDBC_BADSTYPE | -17001 | HY004 | Invalid SQL data type |
eRDBC_CLOSEHDBC | -17012 | 01002 | Connection not closed |
eRDBC_COLRANGE | -17020 | HY097 | Column type out of range |
eRDBC_CONCATNULL | -17019 | HY020 | Attempt to concatenate a null value |
eRDBC_DESCRANGE | -17005 | HY091 | Invalid descriptor field identifier |
eRDBC_FCNRANGE | -17016 | HY095 | Function type out of range |
eRDBC_INVDESCIDX | -17006 | 07009 | Invalid descriptor index |
eRDBC_INVIRDMOD | -17008 | HY016 | Cannot modify an implementation row descriptor |
eRDBC_INVOPENMODE | -17009 | 01S00 | Invalid database open mode |
eRDBC_INVOPNOW | -17017 | HY010 | Invalid operation at this time |
eRDBC_NOINDVAR | -17011 | 22002 | Indicator variable required but not supplied |
eRDBC_NOMEMORY | -17002 | HY013 | Driver out of memory |
eRDBC_NOTCAPABLE | -17004 | IM001 | Driver not capable |
eRDBC_NOTCURSOR | -17007 | 07005 | Prepared statement is not a valid cursor |
eRDBC_NULLRANGE | -17022 | HY099 | Nullable type out of range |
eRDBC_OPENHDBCS | -17013 | 01002 | Must free all connection handles first |
eRDBC_SCOPERANGE | -17021 | HY098 | Scope out of range |
eRDBC_TYPEATTR | -17003 | HY024 | Data type attribute violation |
eRDBC_UNIQUERANGE | -17023 | HY100 | Uniqueness option type out of range |
eREADONLY | -10044 | 42000 | Database is read-only and cannot be updated |
eREALLOCMEMORY | -10105 | HY001 | Reallocation of huge memory buffers not supported |
eRECOVERYFAILED | -10046 | Recovery failed | |
eREFINTEGRITY | -10014 | 40002 | Integrity constraint violation |
eREPLICATE | -12095 | Replication has been enabled for this DB handle and other functions can therefore not be called | |
eREPLICATEALREADY | -12100 | Database is already being served as a replication target | |
eREPLICATEBEHIND | -12098 | Replication source is behind the replication target | |
eREPLICATEMISSMATCH | -12101 | Replication target does not match replication source | |
eREPLICATEREADONLY | -12099 | A database serving as a replication target can only be opened in read only mode | |
eREPLICATESNAPSHOT | -12102 | A database serving as a replication target can only start snapshots | |
eREPLICATESOURCE | -12096 | Replication source has been enabled for this DB handle and functions for the replication target cannot be called | |
eREPLICATETARGET | -12097 | Replication target has been enabled for this DB handle and functions for the replication source cannot be called | |
eREP_INVOP | -12057 | Invalid operation during replication | |
eROWIDMISMATCH | -10057 | The specified RowId does not match the Primary Key RowId value | |
eROWIDRANGE | -10056 | RowId value out of range | |
eROWLIMIT | -10058 | Table row limit reached | |
eSCHEMACHANGE | -12063 | A schema change was detected and the current operation was not successful | |
eSETPAGES | -12055 | Error in d_setpages (database open or bad param) | |
eSINGLETONDELETED | -12021 | The row for a singleton cursor has been deleted | |
eSLAVEREADONLY | -12051 | Attempted to open a slave database in non-readonly mode | |
eSNAPSHOTACTIVE | -10017 | 25006 | Snapshot is active |
eSNAPSHOTNOTACTIVE | -10018 | 25005 | Snapshot is not active |
eSQLRESERVED | -10005 | Can't use a SQL reserved word as identifier | |
eSQL_ALIASEDCOLSREQD | -15105 | 42000 | All result column expressions must be aliased in DECLARE CURSOR's SELECT |
eSQL_AMBIGUOUSCOLREF | -15089 | 42000 | Column with this name declared in more than one of the referenced tables |
eSQL_ARGREF | -15121 | 42000 | Procedure/function argument not found |
eSQL_ASGTEXPRCOUNT | -15155 | 42000 | Number of variables in multiple SET assignment does not match number of expressions |
eSQL_ATOMIC | -15149 | 42000 | Statement cannot be used in a BEGIN ATOMIC/TRANSACTION block |
eSQL_AUTOCOMMIT | -15056 | HY000 | Operation not allowed when autocommit is enabled |
eSQL_BADARGFORM | -15122 | 42000 | Invalid procedure/function argument specification |
eSQL_BADBLOBPAR | -15053 | HY000 | Data-at-exec paramater type not compatible with blob (long var...) column |
eSQL_BADFORMAT | -15003 | 22000 | Bad formatting specification |
eSQL_BADINTOVARTYPE | -15126 | 42000 | EXECUTE INTO variable type is not assignable |
eSQL_BADOUTERJOIN | -15023 | HY000 | No access path between outer joined tables |
eSQL_BADSCALE | -15087 | HY104 | Invalid DECIMAL scale. Must be >= 0 and <= prec |
eSQL_BADSUBSCRIPT | -15171 | 42000 | Subscript value is out of range |
eSQL_BEGINATOMIC | -15161 | 42000 | A compound trigger action must be BEGIN ATOMIC |
eSQL_BEGINTRANS | -15148 | 42000 | BEGIN TRANSACTION can only be specified with first BEGIN |
eSQL_BLOBEXPR | -15050 | HY000 | Blobs cannot be referenced in expressions |
eSQL_BLOBPARSONLY | -15052 | HY000 | Data-at-exec parameters only allowed for blob (long var...) columns |
eSQL_CALLFUNCTION | -15158 | 42000 | Functions cannot be called using the CALL statement |
eSQL_CANCELLED | -15037 | HY008 | Statement execution cancelled by user |
eSQL_CASENOTFOUND | -15100 | 20000 | Case not found for CASE statement |
eSQL_CHARREQD | -15061 | 2200G | CHAR type is required |
eSQL_COLNUMBER | -15004 | 07009 | Invalid descriptor index (column number) |
eSQL_COMERROR | -15046 | 08S01 | RPC communication error |
eSQL_CONNECT | -15062 | 08001 | Unable to connect |
eSQL_CURNOTDECLARED | -15106 | 42000 | Cursor not declared |
eSQL_CURPOS | -15012 | HY109 | Invalid cursor position |
eSQL_CURSORTAB | -15073 | 0T000 | Target table does not match cursor specification |
eSQL_CURSORTABLE | -15057 | 0T000 | Positioned UPDATE/DELETE table does not match cursor's |
eSQL_CURSTATE | -15014 | 24000 | Invalid cursor state |
eSQL_DATAATEXEC | -15051 | HY000 | Data-at-exec parameters only allowed with INSERT VALUES/UPDATE |
eSQL_DEBUGMODE | -15086 | 22003 | Valid debug mode values are 0,1,2,3 |
eSQL_DEFINSERTVALS | -15168 | 42000 | Syntax error where columns are present after 'DEFAULT VALUES' |
eSQL_DIAGNOTSTACKED | -15145 | 0Z002 | Stacked diagnostics accessed without active handler |
eSQL_DIFFCONNS | -15066 | HY000 | Statements from different connections |
eSQL_DUPCONDITION | -15136 | 42000 | Duplicate condition spec'd in same handler or other handler in same scope |
eSQL_DUPCURSOR | -15001 | 3C000 | Duplicate cursor name |
eSQL_DUPJOINCOL | -15031 | 42000 | Duplicate join column |
eSQL_DUPLICATELABEL | -15157 | 42000 | Duplicate block or loop label |
eSQL_DUPPREPNAME | -15127 | 42000 | Duplicate PREPARE statement name |
eSQL_DUPPROC | -15020 | 42000 | Duplicate stored procedure name |
eSQL_DUPVARREF | -15111 | 42000 | Variable is already declared |
eSQL_ESCAPECHAR | -15016 | 22019 | Invalid escape character |
eSQL_EXECNEEDSINTO | -15131 | 42000 | EXECUTE must have INTO clause for a PREPARE of SELECT statement |
eSQL_FCNARG | -15034 | 21000 | Invalid function argument |
eSQL_FETCHTYPE | -15010 | HY106 | Fetch type out of range |
eSQL_FETCHVARDATATYPE | -15109 | 2200G | FETCH INTO variable data type incompatible with corresponding result column type |
eSQL_FETCHVARS | -15108 | OT000 | FETCH INTO variable list cursor column count mismatch |
eSQL_FORCURSOR | -15120 | 42000 | Statement not allowed on FOR cursor name |
eSQL_FORUPDCOL | -15074 | 42000 | FOR UPDATE column not in SELECT list |
eSQL_GENEXCEPTION | -15135 | 42000 | Cannot mix general and specific conditions in one handler |
eSQL_GENFILE | -15002 | HY000 | Unable to open file |
eSQL_GLOBALVARREF | -15114 | 42000 | Illegal global variable reference |
eSQL_GROUPBYAGGFN | -15038 | 42000 | Aggregate functions not allowed in GROUP BY |
eSQL_GROUPBYPARMS | -15082 | 42000 | GROUP BY column expressions cannot have parameter markers |
eSQL_GROUPRESULT | -15071 | 42000 | Result column must have aggregate function call |
eSQL_HANDLERNOTFOUND | -15138 | 45000 | Handler not found for condition |
eSQL_HDBCINUSE | -15024 | 08002 | Connection already in use |
eSQL_IEF | -15044 | HY000 | Import/export error |
eSQL_INARGASGT | -15097 | 42000 | Assignment to input only argument or condition |
eSQL_INSERTCOLREF | -15030 | 42000 | Invalid column reference in INSERT expression |
eSQL_INVARMISMATCH | -15083 | 42000 | Variant argument value in INVAR aggregate function |
eSQL_INVARRAYOP | -15172 | 42000 | Invalid array operation |
eSQL_INVARRAYTYPE | -15169 | 22000 | Invalid array element value |
eSQL_INVCONDNUM | -15143 | 35000 | Invalid condition number |
eSQL_INVCURSOR | -15072 | 34000 | Invalid cursor name |
eSQL_INVDIAGITEM | -15140 | 42000 | Invalid diagnostics item info name |
eSQL_INVPARAM | -15019 | 42000 | Invalid use of parameter marker |
eSQL_INVPROC | -15075 | HY000 | Stored procedure has an invalid version |
eSQL_INVRETURN | -15102 | 42000 | RETURN statements are not allowed in procedures |
eSQL_INVROWIDVAL | -15078 | 22000 | Invalid rowid value |
eSQL_INVSELECT | -15080 | 42000 | SELECT cannot have ORDER/GROUP BY clause |
eSQL_INVSTATE | -15017 | HY000 | Invalid statement state |
eSQL_INVSTMT | -15036 | HY010 | Invalid statement type |
eSQL_INVTXTYPE | -15041 | HY012 | Invalid transaction operation code |
eSQL_LABELMISMATCH | -15092 | 42000 | END label missing or doesn't match block label |
eSQL_LABELNOTFOUND | -15119 | 42000 | Statement with specified label not found |
eSQL_LEAVEHANDLER | -15154 | 42000 | LEAVE to a block outside of a condition handler is not allowed |
eSQL_LOCKMODE | -15054 | HY000 | Illegal locking mode |
eSQL_LOCKSACTIVE | -15047 | HY000 | Operation not allowed due to active read locks |
eSQL_MAXDIAGSAREA | -15144 | 0Z001 | Maximum number of stacked diagnostics areas exceeded |
eSQL_MODIFIES | -15150 | 2F002 | Read only stored proc/func contains modification statements |
eSQL_MSGTEXT | -15141 | 42000 | MESSAGE_TEXT expected |
eSQL_MULTIDBTRANS | -15048 | HY000 | Multiple database transactions are not allowed |
eSQL_NAMEDPARAM | -15069 | HY000 | Named parameter not found |
eSQL_NESTEDAGGS | -15060 | 42000 | Cannot call an aggregate function within an aggregate function |
eSQL_NOAGGINASGT | -15094 | 42000 | Aggregate functions not allowed in assignment statement |
eSQL_NOBLOBGROUP | -15065 | 42000 | Blob columns cannot be referenced in a SELECT with GROUP BY |
eSQL_NOBLOBSORT | -15064 | 42000 | Sorting on a blob column is not allowed |
eSQL_NOCOLUMN | -15008 | 42S22 | Column not found |
eSQL_NODBOPEN | -15177 | 3D000 | No databases are open |
eSQL_NODIAGSINFO | -15142 | 0Z000 | No diagnostics info is available |
eSQL_NOHIDDENCOLS | -15090 | 42000 | Hidden columns not allowed in this context |
eSQL_NOINSERTID | -15079 | HY000 | No last_insert_id is available |
eSQL_NOINSERTVALS | -15167 | 42000 | Syntax error where no columns are present after the keyword 'VALUES' |
eSQL_NOJOINCOLMATCH | -15032 | 42000 | No matching join columns |
eSQL_NOOERRCODE | -15099 | 42000 | Sqlstate/error/condition code not defined |
eSQL_NOPROC | -15021 | HY000 | Stored procedure/function not found |
eSQL_NORESULTSETS | -15110 | 42000 | WITH RETURN cursor not allowed with this procedure (DYNAMIC RESULT SETS = 0) |
eSQL_NORETURNVAL | -15026 | 2F005 | No result value returned from function |
eSQL_NOSETATTR | -15013 | HY110 | Attribute cannot be set now |
eSQL_NOTARRAY | -15170 | 42000 | Not an array value/column/variable |
eSQL_NOTBLOCKVAR | -15116 | 42000 | Identifier is not declared in specified block |
eSQL_NOTCONDITION | -15134 | 42000 | Referenced variable is not a named condition |
eSQL_NOTDETERMINISTIC | -15153 | 42000 | Simple CASE expression cannot call a non-deterministic function |
eSQL_NOTFSSQL | -15176 | 08001 | Server doesn't have the SQL capability |
eSQL_NOTINFORLOOP | -15156 | 42000 | COMMIT/ROLLBACK not allowed in FOR loop |
eSQL_NOTINTRIGGER | -15164 | 42000 | Transactions cannot be used in a trigger |
eSQL_NOTINUDF | -15070 | HY000 | Function cannot be called from a UDF |
eSQL_NOTPREPARED | -15040 | HY007 | Associated statement is not prepared |
eSQL_NOTRIG | -15165 | 42000 | Trigger not found |
eSQL_NOTROWVAR | -15112 | 42000 | Identifier is not a declared row variable or BEGIN label |
eSQL_NOTROWVARCOL | -15115 | 42000 | Identifier is not a column of the specified row variable |
eSQL_NOTSELECT | -15015 | 24000 | Current/cursor's statement is not SELECT |
eSQL_NOTUDFAGG | -15076 | 42000 | DISTINCT can only be specified with aggregate UDF |
eSQL_NOTUPDATEABLE | -15049 | 0U000 | SELECT or column is not updateable |
eSQL_NOUPDCOLS | -15055 | 42000 | No columns have been updated |
eSQL_NOVALGLOBAL | -15096 | 42000 | No value assigned to the global variable |
eSQL_NOWHEREBLOB | -15068 | 42000 | Blob columns cannot be used in WHERE clause of a SELECT with ORDER BY |
eSQL_NUMARGS | -15022 | 21000 | Invalid number of arguments specified |
eSQL_NUMFCNARGS | -15035 | 21000 | Invalid number of specified function arguments |
eSQL_NUMPAR | -15009 | 21000 | Insufficient number of parameters specified |
eSQL_OUTARGCALL | -15098 | 42000 | Output argument must map to a variable |
eSQL_OUTARGS | -15101 | 42000 | INOUT/OUT arguments are not allowed in functions |
eSQL_OUTERJOIN | -15067 | HY000 | Unable to process outer join specification |
eSQL_PARMTYPE | -15042 | HY105 | Invalid parameter type |
eSQL_PARNUMBER | -15005 | 07009 | Invalid descriptor index (parameter number) |
eSQL_PREPNOCOLS | -15133 | 0T000 | PREPARE SELECT number of result columns does not match EXECUTE INTO |
eSQL_PREPNOPARAMS | -15129 | 42000 | Parameter markers are not allowed in PREPARE statement |
eSQL_PREPNOTFOUND | -15128 | 42000 | PREPARE statement not found |
eSQL_PREPNOTSELECT | -15130 | 42000 | PREPARE statement must be a SELECT for EXECUTE INTO |
eSQL_PREPUNALLOWABLE | -15132 | 42000 | Statement type not allowed in PREPARE |
eSQL_PREPVAROUT | -15123 | 42000 | PREPARE statement variable cannot be an OUT variable |
eSQL_PREPVARROW | -15124 | 42000 | PREPARE statement variable cannot be a ROW variable |
eSQL_PREPVARTYPE | -15125 | 42000 | PREPARE statement variable must be a CHAR type |
eSQL_PROCEXISTS | -15146 | HY000 | Another stored procedure/function with same name has been created |
eSQL_PROCGLOBALREF | -15095 | 42000 | Stored procedure references an undeclared global variable |
eSQL_RDMERROR | -15006 | HY000 | RDM runtime error |
eSQL_RDONLYFLAG | -15058 | 25000 | Inconsistent read-only transaction commit/rollback/end call |
eSQL_RECURSIVEPROC | -15173 | HY000 | Recursive stored procedures and triggers are not allowed |
eSQL_REMOTEERROR | -15045 | 08S01 | JNI/ADO.Net system error |
eSQL_RESIGNAL | -15139 | 0K000 | Resignal when handler not active |
eSQL_RESULTSET | -15103 | 42000 | Cursors/SELECTs that return result sets are not allowed in handlers, functions or triggers |
eSQL_RETURNTYPE | -15104 | 2200G | Data type of RETURN expression is not compatible with function |
eSQL_ROWNUMBER | -15091 | 42000 | ROWNUMBER() can only be used with a SELECT statement |
eSQL_ROWVALUE | -15011 | HY107 | Row value out of range |
eSQL_ROWVARREF | -15113 | 42000 | Illegal row variable reference |
eSQL_SELECTCOLS | -15007 | 21S02 | SELECT result columns do not match column list |
eSQL_SORTCOLREF | -15033 | 42000 | Invalid order/group by column reference |
eSQL_SORTCOST | -15084 | 22003 | Sort cost factor must be > 0.0 and < 1.0 |
eSQL_SQLERROR | -15000 | HY000 | Internal SQL error |
eSQL_SQLSTATESIGNAL | -15152 | HY000 | Unhandled signaled SQLSTATE condition |
eSQL_SYSCAT | -15151 | 42000 | Invalid operation on SYSTEM CATALOG |
eSQL_SYSTEM | -15175 | HY000 | System error |
eSQL_TABLEREF | -15059 | 42000 | Duplicate table reference in FROM clause |
eSQL_TIMEOUT | -15043 | HYT00 | Timeout expired |
eSQL_TOOMANYROWS | -15088 | 21000 | Subquery returns more than 1 row |
eSQL_TOOMANYROWVARS | -15117 | 42000 | Only one row variable can be declared for a cursor |
eSQL_TRIGCOLLIST | -15160 | 42000 | Column list can only be used with UPDATE triggers |
eSQL_TRIGDBMISMATCH | -15159 | 42000 | Table's database name does not match trigger's |
eSQL_TRIGEXISTS | -15162 | HY000 | Another trigger with same name has been created |
eSQL_TRMODE | -15147 | 42000 | Transaction mode can be specified only once |
eSQL_TXUNKNOWN | -15039 | 25S01 | Transaction state unknown |
eSQL_UDF | -15025 | 38000 | User-defined function error |
eSQL_UDFARG | -15028 | 22023 | Invalid function argument type |
eSQL_UDFDEFN | -15027 | HY000 | UDFLOADTABLE entry definition error |
eSQL_UDFNOARGS | -15029 | 21000 | Incorrect number of function arguments |
eSQL_UNDECLAREDVARREF | -15093 | 42000 | Reference to undeclared variable |
eSQL_UNDONOTATOMIC | -15137 | 42000 | BEGIN must specify ATOMIC within an UNDO handler |
eSQL_UNIONOPEN | -15063 | HY000 | Database union open invalid when other database is open |
eSQL_USEINPROCONLY | -15107 | 42000 | FOUND test can only be used in stored procedure/function |
eSQL_WHENFCN | -15163 | 42000 | Functions ref'd in WHEN clause cannot be MODIFIES SQL |
eSQL_WHERECALCS | -15018 | 42000 | Aggregate functions not allowed in WHERE |
eSQL_WRONGROWVAR | -15118 | 42000 | Row variable is not declared for this cursor |
eSYNTAX | -10048 | 42000 | Syntax error |
eSYS_BADERRCODE | -20000 | HY000 | Invalid RDM_ RETCODE value |
eSYS_BADFREE | -20008 | Attempt to free empty table | |
eSYS_BADHASH | -20005 | Hash malformed | |
eSYS_BADOPTKEY | -20007 | Calculating optkey index | |
eSYS_BADTREE | -20004 | B-tree malformed | |
eSYS_DCHAIN | -20003 | Bad dchain | |
eSYS_ERRACTIVE | -20001 | Error function call not allowed when another error is active | |
eSYS_ERROR | -20009 | Unexpected system error | |
eSYS_KEYEXIST | -20006 | Key value already exists | |
eSYS_NOSQLSTATE | -20010 | HY000 | Unexpected empty SQL state |
eTABLEISINREF | -12078 | Cannot quick initialize the table because the table is involved in a reference | |
eTABLENOROWID | -10117 | Table does not contain a rowid value | |
eTABNOTFOUND | -10093 | 42S02 | Table not declared |
eTFSOPTIONINIT | -10100 | Option specified can only be specified before initializing a TFS handle | |
eTFS_BLOCKED | -13019 | Mirroring is blocking transactions | |
eTFS_COMMITFAILED | -13024 | Commit failed due to prelog file rename failure | |
eTFS_CONNECT | -13032 | Failed to connect to TFS | |
eTFS_DBINUSE | -13025 | 3D000 | Database is currently in use |
eTFS_DBOPEN | -13022 | Cannot destroy a database that is open by others | |
eTFS_DOCROOTINVALID | -13014 | The specified docroot location is invalid | |
eTFS_DOCROOTNOTFOUND | -13013 | The specified docroot location is not found | |
eTFS_DOCROOTUSED | -13012 | The specified docroot is already in use | |
eTFS_DUPUSER | -13003 | Duplicate user ID | |
eTFS_ENCNOTINIT | -13033 | Encryption subsystem is not initialized on the TFS | |
eTFS_FCNSEQ | -13004 | Function sequence error | |
eTFS_IASYNC_ON | -13018 | Internal asynchronous mode is enabled | |
eTFS_ILLEGALACCESS | -13006 | Illegal attempt to access file(s) on diskless system | |
eTFS_ILLEGALMOD | -13005 | Illegal attempt to modify file(s) on read-only device | |
eTFS_INIEDITED | -13026 | Attempted to edit an INI when it is already being edited | |
eTFS_ININOTEDITED | -13027 | Attempted to edit an INI that was not held for editing | |
eTFS_INVDBID | -13007 | Invalid db id | |
eTFS_INVFILE | -13017 | File not found in file table | |
eTFS_INVHANDLE | -13000 | Invalid TFS handle | |
eTFS_INVOPERATION | -13020 | Invalid operation for this type of TFS | |
eTFS_INVTYPE | -13001 | 42000 | Invalid TFS type |
eTFS_INVUSERID | -13008 | Invalid user id | |
eTFS_NAMEINUSE | -13028 | Name or port already in use | |
eTFS_NOMIR | -13029 | Replication/mirroring is not enabled for this TFS library | |
eTFS_NOPAGE | -13023 | Requested page doesn't exist | |
eTFS_NOREST | -13034 | RDM REST API is not enabled for this TFS library | |
eTFS_NOSQL | -13030 | SQL is not enabled for this TFS library | |
eTFS_NOTFS | -13031 | TFS is not enabled for this TFS library | |
eTFS_NOTINITIALIZED | -13002 | The RDM Transaction File Server (TFS) is not initialized | |
eTFS_NOTRANS | -13021 | Transaction not active | |
eTFS_PACKFILELIMIT | -13036 | 64000 | The upper limit of the number of pack files allowed reached |
eTFS_WRITEFAIL | -13016 | Failed to write to a file | |
eTRACTIVE | -10006 | 25001 | Transaction is active |
eTRFREE | -12045 | Attempt to free a lock inside a transaction | |
eTRNOTACT | -10007 | 25000 | Transaction not active |
eTRUNCATED | -10036 | Date truncated | |
eTX_ACCEPT | -18006 | TCP/IP accept failure | |
eTX_CONNECT | -18004 | 08S01 | Failed to connect to server |
eTX_DISABLED | -18000 | HTTP listener is disabled | |
eTX_GENERROR | -18009 | Generic TX error | |
eTX_HOSTNAME | -18005 | 08S01 | Host name not found |
eTX_LISTEN | -18007 | TCP/IP listen failure | |
eTX_NETREAD | -18002 | Failure to read data from network | |
eTX_NETWRITE | -18003 | Failure to write data to network | |
eTX_NO_REMOTE | -18008 | Remote connections not allowed | |
eTX_TRUNCATED | -18001 | Data retrieved had to be truncated | |
eTYPEMISMATCH | -10055 | 42000 | Data type mismatch |
eUNAVAIL | -10092 | HYT00 | Requested resource not available |
eUNIONCATMISMATCH | -12072 | Unioned databases do not have compatible Catalog structures | |
eUNOMISMATCH | -10030 | Unions mismatch | |
eUPDPRIKEY | -10118 | UPDATE of a column in a primary key is not allowed | |
eVACUUMAMOUNT | -12093 | The amount of data allowed to be vacuumed in one transaction is set to low | |
eVALUEISLIST | -10051 | Attempted to retrieve a single value where the actual value is a list | |
eVARDATALEN | -12043 | Vardata length inconsistency | |
eVARDATAPTR | -12044 | Vardata pointer inconsistency | |
eVTNOTREGISTERED | -12084 | HY000 | Reference to unregistered Virtual Table |
eWRITEPANIC | -10116 | The database engine have shut down updates due to a severe error |