HANA SQL Error Message (661 – 1800)

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
661ERR_SQL_EXST_WORKLOAD_MAPPINGcannot use duplicate workload mapping name
662ERR_SQL_INV_WORKLOAD_MAPPINGinvalid workload mapping name
663ERR_SQL_CONNECT_NOT_ALLOWEDuser not allowed to connect from client
664ERR_SQL_INV_AGENT_GROUPinvalid agent group name
665ERR_SQL_EXST_AGENT_GROUPcannot use duplicate agent group name
666ERR_SQL_AGENT_GROUP_NOT_EMPTYagents are still set to this agent group.
667ERR_SQL_TEXT_MINING_FAILUREtext mining error
668ERR_SQL_2D_POINTS_SUPPORTED_ONLYST_Point columns support 2-dimensional points only
669ERR_SQL_SPATIAL_ERRORspatial error
670ERR_SQL_PART_NOT_EXISTpart does not exist
671ERR_SQL_EXST_LIBRARYcannot use duplicate library name
672ERR_SQL_DPLC_ASSOCIATIONduplicate association name
673ERR_SQL_INV_GRAPH_WORKSPACEinvalid graph workspace name
674WRN_SQL_EXPORT_SKIP_CROSSDB_OBJECTcross database object found and skipped in exporting so IMPORT might fail
675ERR_SQL_EXST_GRAPH_WORKSPACEcannot use duplicate graph workspace name
676ERR_SQL_DUP_WORKLOAD_MAPPINGcannot use duplicate workload mapping to same combination of (user name application user name application name client application component name application component type)
677ERR_SQL_CHECK_CONSTRAINT_VIOLATIONcheck constraint violation
678ERR_SQL_PLANSTABILIZERplan stabilizer error
679ERR_SQL_PLANSTABILIZER_NO_MANAGERplan stabilizer error – manager not found: please check if Plan Stabilizer is enabled
680ERR_SQL_PLANSTABILIZER_STORED_HINTplan stabilizer stored hint error – statement hint table error
681ERR_SQL_PLANSTABILIZER_STORED_ HINT_COMMANDplan stabilizer stored hint error – error while processing statement hint command
682ERR_SQL_PLANSTABILIZER_STORED_ HINT_TABLE_EMPTYplan stabilizer stored hint error – statement hint table is empty
683ERR_SQL_PLANSTABILIZER_STORED_ HINT_MAP_LOAD_ERRORplan stabilizer stored hint error – statement hint table is corrupt.
684ERR_SQL_PLANSTABILIZER_STORED_ HINT_RECORD_ALREADY_EXISTSplan stabilizer stored hint error – statement hint record already exists
685ERR_SQL_PLANSTABILIZER_STORED_ HINT_RECORD_DOES_NOT_EXISTplan stabilizer stored hint error – statement hint record does not exist
686ERR_SQL_START_TASK_ERRORstart task error
687ERR_SQL_EXCEED_LAG_TIMEexceed lag time of RESULT_LAG
688ERR_IO_FAILURE_ON_FILE_WRITEI/O error occured on file write
689ERR_SQL_DUPLICATE_ROWID_MATCHEDDuplicate rowid matched during merge into
690ERR_SQL_PLANSTABILIZER_STORED_ PLANplan stabilizer stored plan error
691ERR_SQL_PLANSTABILIZER_STORED_ PLAN_COMMANDplan stabilizer stored plan error – error while processing command
692ERR_SQL_PLANSTABILIZER_STORED_ PLAN_TABLE_EMPTYplan stabilizer stored plan error – stored plan table is empty
693ERR_SQL_PLANSTABILIZER_STORED_ PLAN_MAP_LOAD_ERRORplan stabilizer stored plan error – stored plan table is corrupt.
694ERR_SQL_PLANSTABILIZER_STORED_ PLAN_RECORD_ALREADY_EXISTSplan stabilizer stored plan error – stored plan record already exists
695ERR_SQL_PLANSTABILIZER_STORED_ PLAN_RECORD_DOES_NOT_EXISTplan stabilizer stored plan error – stored plan record does not exist
696ERR_SQL_PLANSTABILIZER_STORED_ PLAN_CANNOT_CONVERT_ABSTRACT_PLANplan stabilizer stored plan error – cannot convert to abstract plan
697ERR_SQL_PREACTIVE_KEY_EXISTSPreactive key already exists
698ERR_SQL_NO_PREACTIVE_KEYNo preactive key exists
699ERR_SQL_EXST_DEPENDENCY_RULEcannot use duplicate dependency rule name
700ERR_SQL_SINGLE_COLUMN_SEARCH_ THROW_ERRORno_stacked_column_search(throw_error) error
701ERR_SQL_EXST_USERGROUPusergroup name already exists
702ERR_SQL_INV_USERGROUPinvalid usergroup name
703ERR_INCORRECT_ROOT_KEYS_BACKUP_ PASSWORDincorrect root keys backup password
704ERR_SQL_USERGROUP_DELETION_FAILEDusergroup cannot be dropped
705ERR_SQL_CONCURRENT_GRANTTwo concurrent statements performed the same grant operation
706ERR_SQL_INV_SYMMETRIC_CIPHERcurrently only AES-256-CBC is supported: invalid cipher
707ERR_SQL_EXST_COLUMN_KEYcannot use duplicate column key name
708ERR_SQL_EXST_COLUMN_KEYCOPYcolumn keycopy already exists
709ERR_SQL_EXST_KEYPAIRkeypair already exists
710ERR_SQL_INV_ASYMMETRIC_CIPHERcurrently only RSA-OAEP-2048 is supported: invalid cipher
711ERR_SQL_EXST_COLUMN_KEY_IDcannot use duplicate column key id
712ERR_SQL_PLANSTABILIZER_STORED_ PLAN_MIGRATIONplan stabilizer stored plan error – migration error
713ERR_SQL_NOT_OWN_KEYPAIRkeypair not owned by the creator of the column key
714ERR_SQL_DROP_COLUMN_KEYCOPYcannot drop the last key admin keycopy
715ERR_SQL_EMPTY_WORKLOAD_MAPPINGcannot use a workload mapping with no properties
716ERR_SQL_STALE_STATEMENTstatement is stale metadata or column encryption key of some columns have changed
717ERR_SQL_INV_KEY_IDinvalid key id
1024ERR_SESsession error
1025ERR_COMcommunication error
1026ERR_COM_LISTENcannot bind a communication port
1027ERR_COM_INITcommunication initialization error
1028ERR_COM_IOCTLI/O control error
1029ERR_COM_CONNECTconnection failure
1030ERR_COM_SENDsend error
1031ERR_COM_RECEIVEreceive error
1032ERR_SES_THREAD_CREATEcannot create a thread
1033ERR_SES_INV_PROTOCOLerror while parsing protocol
1034ERR_SES_EXCEED_MAX_SESSIONexceed maximum number of sessions
1035ERR_SES_INV_VERSIONnot supported version
1036ERR_SES_INV_SESSIONinvalid session id
1037ERR_COM_UNKNOWN_HOSTunknown hostname
1038ERR_SES_SERVER_BUSYrejected as server is temporarily overloaded
1088ERR_DATA_STATdata statistics error
1089ERR_DATA_STAT_NOT_FOUNDno matching data statistics objects found
1090ERR_DATA_STAT_REMOTE_QUERY_ERRinvalid result from query to remote source
1091ERR_DATA_STAT_TABLE_NOT_FOUNDspecified table not found or not supported
1092ERR_DATA_STAT_BUILD_ERRORerror building data statistics object
1093ERR_DATA_STAT_EXISTSdata statistics object already exists
1094ERR_DATA_STAT_INVALID_SETTINGinvalid combination of settings specified
1120ERR_USERGROUP_GENERALusergroup error
1121ERR_USERGROUP_USER_NOT_ MEMBER_OF_ANYuser is not member of any usergroup
1122ERR_USERGROUP_EQUAL_CURRENT_ AND_NEW_USERGROUPcurrent and new usergroup are the same
1123ERR_USERGROUP_UNKNOWN_ PARAMETER_NAMEunknown parameter for usergroup
1124ERR_USERGROUP_UNKNOWN_ PARAMETER_SET_NAMEunknown parameter set for usergroup
1125ERR_USERGROUP_DUPLICATE_ PARAMETER_NAMEsame parametername specified more than once
1126ERR_USERGROUP_INVALID_ PARAMETER_VALUEinvalid value for usergroup parameter
1280ERR_SQLSCRIPT_2sqlscript error
1281ERR_SQLSCRIPT_WRONG_PARAMSwrong number or types of parameters in call
1282ERR_SQLSCRIPT_OUT_PARAM_VARoutput parameter not a variable
1283ERR_SQLSCRIPT_OUT_PARAM_ DEFAULTOUT and IN OUT parameters may not have default expressions
1284ERR_SQLSCRIPT_DUP_PARAMETERSduplicate parameters are not permitted
1285ERR_SQLSCRIPT_DUP_DECLat most one declaration is permitted in the declaration section
1286ERR_SQLSCRIPT_CURSOR_ SELECT_STMTcursor must be declared by SELECT statement
1287ERR_SQLSCRIPT_ID_NOT_ DECLAREDidentifier must be declared
1288ERR_SQLSCRIPT_NOT_ASSIGN_ TARGETexpression cannot be used as an assignment target
1289ERR_SQLSCRIPT_NOT_INTO_TARGETexpression cannot be used as an INTO-target of SELECT/FETCH statement
1290ERR_SQLSCRIPT_LHS_CANNOT_ ASSIGNEDexpression is inappropriate as the left hand side of an assignment statement
1291ERR_SQLSCRIPT_EXPR_ WRONG_TYPEexpression is of wrong type
1292ERR_SQLSCRIPT_ILLEGAL_ EXIT_STMTillegal EXIT statement it must be appear inside a loop
1293ERR_SQLSCRIPT_ID_ EXCEPTION_TYPEidentifier name must be an exception name
1294ERR_SQLSCRIPT_INTO_CLAUSEan INTO clause is expected in SELECT statement
1295ERR_SQLSCRIPT_NOT_ALLOWED_ SQL_STMTEXPLAIN PLAN and CALL statement are not allowed
1296ERR_SQLSCRIPT_NOT_CURSORidentifier is not a cursor
1297ERR_SQLSCRIPT_NUM_FETCH_VALUESwrong number of values in the INTO list of a FETCH statement
1298ERR_SQLSCRIPT_UNHANDLED_EXCEPTIONunhandled user-defined exception
1299ERR_SQLSCRIPT_NO_DATA_FOUNDno data found
1300ERR_SQLSCRIPT_FETCH_MANY_ROWSfetch returns more than requested number of rows
1301ERR_SQLSCRIPT_VALUE_ERRORnumeric or value error
1302ERR_SQLSCRIPT_OUT_PARAM_ IN_FUNCTIONparallelizable function cannot have OUT or IN OUT parameter
1303ERR_SQLSCRIPT_USER_DEFINED_ EXCEPTIONuser-defined exception
1304ERR_SQLSCRIPT_CURSOR_ALREADY_OPENcursor is already opened
1305ERR_SQLSCRIPT_INVALID_RETURN_TYPEreturn type is invalid
1306ERR_SQLSCRIPT_RETURN_TYPE_MISMATCHreturn type mismatch
1307ERR_SQLSCRIPT_UNSUPPORTED_DATATYPEunsupported datatype is used
1308ERR_SQLSCRIPT_INVALID_SINGLE_ ASSIGNMENTillegal single assignment
1309ERR_SQLSCRIPT_INVALID_USE_OF_ TABLE_VARIABLEinvalid use of table variable
1310ERR_SQLSCRIPT_NOT_ALLOWED_ SCALAR_TYPEscalar type is not allowed
1311ERR_SQLSCRIPT_NO_OUT_PARAMOut parameter is not specified
1312ERR_SQLSCRIPT_AT_MOST_ONE_ OUT_PARAMAt most one output parameter is allowed
1313ERR_SQLSCRIPT_OUT_PARAM_TABLEoutput parameter should be a table or a table variable
1314ERR_SQLSCRIPT_INVALID_ VARIABLE_NAMEinappropriate variable name: do not allow "" or '_SYS_' prefix for the name of variable or parameter
1315ERR_SQLSCRIPT_RETURN_RESULT_ SET_WITH_RESULTVIEWReturn result set from SELECT statement exist when result view is defined
1316ERR_SQLSCRIPT_NOT_ASSIGNED_ OUT_TABVARsome out table variable is not assigned
1317ERR_SQLSCRIPT_FUNCTION_NAME_ MAX_LENFunction name exceedes max. limit
1318ERR_SQLSCRIPT_BUILTIN_NOT_DEFINEDBuilt-in function not defined
1319ERR_SQLSCRIPT_BUILTIN_PARAM_ NOT_TABLE_NAMEParameter must be a table name
1320ERR_SQLSCRIPT_BUILTIN_PARAM_ ATTRIBUTE_WITH_SCHEMAParameter must be an attribute name without a table name upfront
1321ERR_SQLSCRIPT_BUILTIN_PARAM_ ATTRIBUTE_WITH_ALIASParameter must be an attribute name without an alias
1322ERR_SQLSCRIPT_CALC_ATTR_NOT_ ALLOWEDCE_CALC not allowed
1323ERR_SQLSCRIPT_BUILTIN_PARAM_ NOT_COL_OR_AGGR_VECTORParameter must be a vector of columns or aggregations
1324ERR_SQLSCRIPT_BUILTIN_MISSING_ JOIN_ATTR_IN_PROJECTIONJoin attribute must be available in projection list
1325ERR_SQLSCRIPT_BUILTIN_PARAM_ NOT_SQLIDENT_VECTORParameter must be a vector of sql identifiers
1326ERR_SQLSCRIPT_DUPLICATE_ ATTRIBUTE_NAMEDuplicate attribute name
1327ERR_SQLSCRIPT_PARAM_UNSUPPORTED_ TYPEParameter has a non supported type
1328ERR_SQLSCRIPT_BUILTIN_MISSING_ ATTRIBUTE_IN_PROJECTIONAttribute not found in column table
1329ERR_SQLSCRIPT_BUILTIN_ DUPLICATE_COLUMN_NAMEDuplicate column name
1330ERR_SQLSCRIPT_BUILTIN_ CALCATTR_EXPRESSION_SYNTAXSyntax Error for calculated Attribute
1331ERR_SQLSCRIPT_BUILTIN_FILTER_ EXPRESSION_SYNTAXSyntax Error in filter expression
1332ERR_SQLSCRIPT_BUILTIN_FIRST_ PARAM_NOT_COLUMN_TABLEParameter must be a valid column table or projection view on column tables
1333ERR_SQLSCRIPT_BUILTIN_JOINATTR_ NOT_FOUND_IN_VARJoin attributes not found in variable
1334ERR_SQLSCRIPT_BUILTIN_IN_PARAM_ NOT_SAME_TABLE_TYPEInput parameters do not have the same table type
1335ERR_SQLSCRIPT_RUNTIME_CYCLIC_ DEPENDENCYCyclic dependency found in a runtime procedure
1336ERR_SQLSCRIPT_RUNTIME_UNEXPECTED_ EXCEPTIONUnexpected internal exception caught in a runtime procedure
1337ERR_SQLSCRIPT_VAR_DEPENDS_ON_ UNASSIGNED_VARVariable depends on an unassigned variable
1338ERR_SQLSCRIPT_CE_CONVERSION_ CUSTOM_TAB_MISSINGCE_CONVERSION: customizing table missing
1339ERR_SQLSCRIPT_TOO_MANY_PARAMSToo many parameters
1340ERR_SQLSCRIPT_NESTED_CALL_ TOO_DEEPThe depth of the nested call is too deep
1341ERR_SQLSCRIPT_VERSION_VALIDATION_ FAILEDProcedure version validation failed
1342ERR_SQLSCRIPT_CE_CALC_ATTRIBUTE_ AND_ALIAS_ARE_SAMEAttribute has the same name as the alias
1343ERR_SQLSCRIPT_RETRY_EXCEPTIONRetry Exception is occurred in a runtime procedure
1344ERR_SQLSCRIPT_NOT_ALLOWED_ DYNAMIC_SQLDynamic SQL or DDL is not allowed
1345ERR_SQLSCRIPT_NOT_ALLOWED_ CONCURRENT_WRITESConcurrently two or more write operations to the same object are not allowed
1346ERR_SQLSCRIPT_NOT_ALLOWED_ CONCURRENT_READ_AND_WRITEConcurrently read and write operations to the same object are not allowed
1347WRN_SQLSCRIPT_NOT_RECOMMENDED_ FEATURENot recommended feature
1348ERR_SQLSCRIPT_LLANG_GET_LIBRARY_ IMPORT_LIST_FAILEDFailed to retrieve the list of imported libraries from LLANG procedure
1349ERR_SQLSCRIPT_INITIAL_ASSIGNMENT_ REQUIRED_FOR_CONSTANT_TABLEAssigning initial value is required for declaring constant table variable
1350ERR_SQLSCRIPT_NOT_ALLOWED_NON_ DETERMINISTIC_FEATURENon-deterministic feature is not allowed
1351ERR_SQLSCRIPT_INVALID_PARSE_TREEInvalid parse tree
1352ERR_SQLSCRIPT_ENCRYPTION_NOT_ ALLOWEDNot allowed for encrypted procedure or function
1353ERR_SQLSCRIPT_NOT_NULL_COLUMN_ IGNOREDNOT NULL constraints in explicit table types are ignored
1354ERR_SQLSCRIPT_CURSOR_NOT_OPENEDCursor to be fetched has not been opened yet
1355ERR_SQLSCRIPT_INVALID_EXTERN_LANGInvalid external language
1356ERR_SQLSCRIPT_COMPOSITEComposite error in SQLScript processing
1792ERR_SHMshared memory error
1793ERR_SHM_CREATE_INVALIDinvalid key or invalid size
1794ERR_SHM_CREATE_ALREADY_EXISTthe segment already exists
1795ERR_SHM_CREATE_EXCEED_LIMITexceed the system-wide limit on shared memory
1796ERR_SHM_CREATE_NOT_EXISTno segment exists for the given key and IPC_CREAT was not specified
1797ERR_SHM_CREATE_NO_ACCESSthe user does not have permission to access the shared memory segment
1798ERR_SHM_CREATE_NO_MORE_MEMORYno memory could be allocated for segment overhead
1799ERR_SHM_DROP_INVALIDinvalid shmid
1800ERR_SHM_DROP_NO_ACCESSallow read access for shmid

You May Also Like

Leave a Reply?