HANA SQL Error Message (1-294)

The following table lists error codes and their descriptions for the SAP HANA database. Please refer to SAP Note 2658020 – List of SAP HANA SQL Error Codes.

Code Type Description
1WRN_GENERALgeneral warning
2ERR_GENERALgeneral error
3FATAL_GENERALfatal error
4FATAL_OUT_OF_MEMORYcannot allocate enough memory
5ERR_INITinitialization error
6ERR_DATAinvalid data
7ERR_FEATURE_NOT_SUPPORTEDfeature not supported
8ERR_INV_ARGUMENTinvalid argument
9ERR_INDEX_OUT_OF_BOUNDSindex out of bounds
10ERR_AUTHENTICATION_FAILEDauthentication failed
11ERR_INV_STATEinvalid state
12ERR_FILE_OPEN_FAILEDcannot open file
13ERR_FILE_CREATE_WRITE_FAILEDcannot create/write file
14ERR_DISK_SPACE_SHORTAGEcannot allocate enough disk space
15ERR_FILE_NOT_FOUNDcannot find file
16ERR_RETRY_STATEMENTstatement retry
17ERR_CATA_VER_MISMATCHmetadata schema version incompatible between database and executable file
18ERR_SERVICE_SHUTDOWNservice shutting down
19ERR_INV_LICENSEinvalid license
20ERR_CON_OUTSIDE_VALIDITY_PERIODconnect attempt outside user's validity period
21ERR_PERSISTENCEpersistence error
128ERR_TXtransaction error
129ERR_TX_ROLLBACKtransaction rolled back by an internal error
130ERR_TX_ROLLBACK_INTEGRITYtransaction rolled back by integrity constraint violation
131ERR_TX_ROLLBACK_LOCK_TIMEOUTtransaction rolled back by lock wait timeout
132ERR_TX_ROLLBACK_RESOURCEtransaction rolled back due to unavailable resource
133ERR_TX_ROLLBACK_DEADLOCKtransaction rolled back by detected deadlock
134FATAL_REC_CHKPT_FILE_FAILfailure in accessing checkpoint file
135FATAL_REC_ANCHOR_FILE_FAILfailure in accessing anchor file
136FATAL_REC_LOG_FILE_FAILfailure in accessing log file
137FATAL_REC_ARCHIVE_FILE_FAILfailure in accessing archive file
138ERR_TX_SERIALIZATIONtransaction serialization failure
139ERR_TX_ROLLBACK_QUERY_CANCELcurrent operation cancelled by request and transaction rolled back
140ERR_TX_INV_TIDinvalid write-transaction identifier
141ERR_INV_LOG_FILE_FAILfailure in accessing invisible log file
142ERR_TX_EXCEED_MAX_TX_NUMexceed max num of concurrent transactions
143ERR_TX_SERIALIZATION_WITH_TIMEOUTtransaction serialization failure until timeout expires
144ERR_TX_ROLLBACK_UNIQUE_VIOLATEDtransaction rollback unique constraint violated
145ERR_TX_DIST_FAILUREtransaction distribution work failure
146ERR_TX_LOCK_ACQUISITION_FAILResource busy and NOWAIT specified
147ERR_TX_DATA_LOG_INCONSISTENTinconsistency between data and log
148ERR_TX_START_BLOCKEDtransaction start is blocked until Master_Restart finishes
149ERR_TX_DIST_2PC_FAILUREdistributed transaction commit failure
150ERR_TX_SNAPSHOT_TOO_OLDstatement cancelled or snapshot timestamp already invalidated
151ERR_TX_ROLLBACK_ROW_STORE_FULLtransaction rollback exceed max size of persistent row store data space
152ERR_TX_ROLLBACK_ROW_STORE_FULL_DBAREQtransaction rollback exceed max size of persistent row store data space request DBAdmin's action
153ERR_TX_SERIALIZATION_UNLOCK_REQUIREDtransaction serialization failure internally used to distinguish serialzation failure caused by delete and other versions
154ERR_TX_INDEX_HANDLE_ACQUISITION_FAILfailure in acquiring index handle
155ERR_TX_ROLLBACK_DEFERRED_FKtransaction rollback deferred fk constraint violation
208ERR_TX_XAERXA transaction error
209ERR_TX_XAER_ASYNCasynchronous operation error
210ERR_TX_XAER_DUPIDduplicate XID
211ERR_TX_XAER_INVALinvalid argument of XA call
212ERR_TX_XAER_NOTAno valid XID
213ERR_TX_XAER_OUTSIDEoutside of global transaction
214ERR_TX_XAER_PROTOimproper XA call sequence
215ERR_TX_XAER_RMERRresource manager error
216ERR_TX_XAER_RMFAILResource manager unavailable
217ERR_TX_XA_RBPROTOA protocol error occurred in the resource manager
218ERR_TX_XA_RBROLLBACKThe rollback was caused by an unspecified reason
256ERR_SQLsql processing error
257ERR_SQL_PARSEsql syntax error
258ERR_SQL_INSUFF_PRIVinsufficient privilege
259ERR_SQL_INV_TABLEinvalid table name
260ERR_SQL_INV_COLUMNinvalid column name
261ERR_SQL_INV_INDEXinvalid index name
262ERR_SQL_INV_QUERYinvalid query name
263ERR_SQL_INV_ALIASinvalid alias name
264ERR_SQL_INV_DATATYPEinvalid datatype
265ERR_SQL_MISSING_EXPexpression missing
266ERR_SQL_INCNST_DATATYPEinconsistent datatype
267ERR_SQL_LONG_LEN_TYPEspecified length too long for its datatype
268ERR_SQL_AMBG_COLUMNcolumn ambiguously defined
269ERR_SQL_MANY_VALUEStoo many values
270ERR_SQL_FEW_VALUESnot enough values
271ERR_SQL_DPLC_ALIASduplicate alias
272ERR_SQL_DPLC_COLUMNduplicate column name
273ERR_SQL_LONG_CHARnot a single character string
274ERR_SQL_INS_LARGE_VALUEinserted value too large for column
275ERR_SQL_NOT_FUNCTIONaggregate function not allowed
276ERR_SQL_NOT_SINGLE_GROUPmissing aggregation or grouping
277ERR_SQL_NOT_GROUP_EXPnot a GROUP BY expression
278ERR_SQL_NESTED_WO_GROUPnested group function without GROUP BY
279ERR_SQL_TOO_DEEP_NESTEDgroup function is nested
280ERR_SQL_ORDER_EXCEED_NUMORDER BY item must be the number of a SELECT-list
281ERR_SQL_OUTER_IN_ORouter join not allowed in operand of OR or IN
282ERR_SQL_OUTER_CROSS_JOINtwo tables cannot be outer-joined to each other
283ERR_SQL_OUTER_MORE_TWOa table may be outer joined to at most one other table
284ERR_SQL_JOIN_NOT_MATCHjoin field does not match
285ERR_SQL_INV_JOIN_PREDinvalid join condition
286ERR_SQL_LONG_IDENTIFIERidentifier is too long
287ERR_SQL_NOT_NULLcannot insert NULL or update to NULL
288ERR_SQL_EXST_TABLEcannot use duplicate table name
289ERR_SQL_EXST_INDEXcannot use duplicate index name
290ERR_SQL_EXST_QUERYcannot use duplicate query name
291ERR_SQL_NOT_POS_ARGUMENTargument identifier must be positive
292ERR_SQL_FEW_ARGUMENTwrong number of arguments
293ERR_SQL_INV_ARGUMENTargument type mismatch
294ERR_SQL_MANY_PRIMARY_KEYcannot have more than one primary key

You May Also Like

Leave a Reply?