SAP HANA SQL Error Codes

通过查看 M_ERROR_CODES

M_ERROR_CODES - Error codes with descriptions

 

Error CodeDescription
1General warning
2General error
3Fatal error
4Cannot allocate enough memory
5Initialization error
6Invalid data
7Feature not supported
8Invalid argument
9Index out of bounds
10Invalid username or password
11Invalid state
12Cannot open file
13Cannot create/write file
14Cannot allocate enough disk space
15Cannot find file
16Statement retry
17Metadata schema version incompatible between database and executable file
18Service shutting down
19Invalid license
128Transaction error
129Transaction rolled back by an internal error
130Transaction rolled back by integrity constraint violation
131Transaction rolled back by lock wait timeout
132Transaction rolled back due to unavailable resource
133Transaction rolled back by detected deadlock
134Failure in accessing checkpoint file
135Failure in accessing anchor file
136Failure in accessing log file
137Failure in accessing archive file
138Transaction serialization failure
139Current operation cancelled by request and transaction rolled back
140Invalid write-transaction identifier
141Failure in accessing invisible log file
142Exceed max num of concurrent transactions
143Transaction serialization failure until timeout expires
144Transaction rollback, unique constraint violated
145Transaction distribution work failure
146Resource busy and acquire with NOWAIT specified
147Inconsistency between data and log
148Transaction start is blocked until Master_Restart finishes
149Distributed transaction commit failure
150Statement cancelled due to old snapshot
256SQL processing error
257SQL syntax error
258Insufficient privilege
259Invalid table name
260Invalid column name
261Invalid index name
262Invalid query name
263Invalid alias name
264Invalid datatype
265Expression missing
266Inconsistent datatype
267Specified length too long for its datatype
268Column ambiguously defined
269Too many values
270Not enough values
271Duplicate alias
272Duplicate column name
273Not a single character string
274Inserted value too large for column
275Aggregate function not allowed
276Missing aggregation or grouping
277Not a GROUP BY expression
278Nested group function without GROUP BY
279Group function is nested
280ORDER BY item must be the number of a SELECT-list
281Outer join not allowed in operand of OR or IN
282Two tables cannot be outer-joined to each other
283A table may be outer joined to at most one other table
284Join field does not match
285Invalid join condition
286Identifier is too long
287Cannot insert NULL or update to NULL
288Cannot use duplicate table name
289Cannot use duplicate index name
290Cannot use duplicate query name
291Argument identifier must be positive
292wrong number of arguments
293Argument type mismatch
294Cannot have more than one primary key
295Too long multi key length
296Replicated table must have a primary key
297Cannot update primary key field in replicated table
298Cannot store DDL
299Cannot drop index used for enforcement of unique/primary key
300Argument index is out of range
301Unique constraint violated
302Invalid CHAR or VARCHAR value
303Invalid DATE, TIME or TIMESTAMP value
304Division by zero undefined
305Single-row query returns more than one row
306Invalid cursor
307Numeric value out of range
308Column name already exists
309Correlated subquery cannot have TOP or ORDER BY
310SQL error in procedure
311Cannot drop all columns in a table
312Sequence is exhausted
313Invalid sequence
314Numeric overflow
315Invalid synonym
316wrong number of arguments in function invocation
317P_QUERYPLANS not exists nor valid format
318Decimal precision specifier is out of range
319Decimal scale specifier is out of range
320Cannot create index on expression with datatype LOB
321Invalid view name
322Cannot use duplicate view name
323Duplicate replication ID
324Cannot use duplicate sequence name
325Invalid escape sequence
326CURRVAL of given sequence is not yet defined in this session
327Cannot explain plan of given statement
328Invalid name of function or procedure
329Cannot use duplicate name of function or procedure
330Cannot use duplicate synonym name
331User name already exists
332Invalid user name
333Column not allowed
334Invalid user privilege
335Field alias name already exists
336Invalid default value
337INTO clause not allowed for this SELECT statement
338Zero-length collumns are not allowed
339Invalid number
340Not all variables bound
341Numeric underflow
342Collation conflict
343Invalid collate name
344Parse error in data loader
345Not a replication table
346Invalid replication ID
347Invalid option in monitor
348Invalid datetime format
349Cannot CREATE UNIQUE INDEX
350Cannot drop columns in the primary-key column list
351Column is referenced in a multi-column constraint
352Cannot create unique index on CDX table
353Update log group name already exists
354Invalid update log group name
355The base table of the update log table must have a primary key
356Exceed maximum number of update log group
357The base table already has a update log table
358Update log table can not have a update log table
359Concatenated string is too long
360View WITH CHECK OPTION where-clause violation
361Data manipulation operation not legal on this view
362Invalid schema name
363Number of index columns exceeds its maximum
364Invalid partial key size
365No matching unique or primary key for this column list
366Referenced table does not have a primary key
367Number of referencing columns must match referenced columns
368Unique constraint not allowed on temporary table
369Exceed maximum view depth limit
370Cannot perform DIRECT INSERT operation on table with unique indexes
371Invalid XML document
372Invalid XPATH
373Invalid XML duration value
374Invalid XML function usage
375Invalid XML index operation
376Python stored procedure error
377JIT operation error
378Invalid column view
379Table schema mismatch
380Fail to change run level
381Fail to restart
382Fail to collect all version garbage
383Invalid identifier
384Constant string is too long
385Could not restore session
386Cannot use duplicate schema name
387Table ambiguously defined
388Role already exists
389Invalid role name
390Invalid user type
391Invalidated view
392Can't assign cyclic role
393Roles must not receive a privilege with grant option
394Error revoking role
395Invalid user-defined type name
396Cannot use duplicate user-defined type name
397Invalid object name
398Cannot have more than one order by
399Role tree too deep
400Primary key not allowed on insert-only table
401Unique constraint not allowed on insert-only table
402The user was already dropped before query execution
403Internal error
404Invalid (non-existent) structured privilege name
405Cannot use duplicate structured privilege name
406INSERT, UPDATE and UPSERT are disallowed on the generated field
407Invalid date format
408Password or parameter required for user
409Multiple values for a parameter not supported
410Invalid privilege namespace
411Invalid table type
412Invalid password layout
413Last n passwords can not be reused
414User is forced to change password
415User is deactivated
416User is locked
417Can't drop without CASCADE specification
418Invalid view query for creation
419Can't drop with RESTRICT specification.
420Password change currently not allowed
421Cannot create fulltext index
422Privileges must be either all SQL or all from one namespace
423LiveCache error
424Invalid name of package
425Duplicate package name
426Number of columns mismatch
427Cannot reserve index ID any more
428Invalid query plan ID
429Integrity check failed
430Invalidated procedure
431User's password will expire within few days
432This syntax has been deprecated and will be removed in next release
433Null value found
434Invalid object ID
435Invalid expression
436Could not set system license
437Only commands for license handling are allowed in current state
438Invalid user parameter value
439Composite error
440Table type conversion error
441This feature has been deprecated and will be removed in next release
442Number of columns exceeds its maximum
443Invalid calculation scenario name
444Package manager error
512Replication error
513Cannot execute DDL statement on replication table while replicating
514Failure in accessing anchor file
515Failure in accessing log file
516Replication table has not conflict report table
517Conflict report table already enabled
518Conflict report table already disabled
576API error
577Cursor type of forward is not allowed
578Invalid statement
579Exceed maximum batch size
580Server rejected the connection(protocol version mismatch)
581This function can be called only in the case of single statement
582This query does not have result set
583Connection does not exist
584No more lob data
585Operation is not permitted
586Invalid parameter is received from server
587Result set is currently invalid
588Next() is not called for this result set
589Too many parameters are set
590Some paramters are missing
591Internal error
592Not supported type conversion
593Remote-only function
594No more result row in result set
595Specified parameter is not output parameter
596LOB streaming is not permitted in auto-commit mode
597Session context error
598Failed to execute the external statement
599Session layer is not initialized yet
600Failed routed execution
601Too many session variables are set
602Cannot set readonly session variable
603Invalid LOB
604Remote temp table access failure
605Invalid XA join request
606Exceed maximum LOB size
607Failed to cleanup resources
608Exceed maximum number of prepared statements
1024Session error
1025Communication error
1026Cannot bind a communication port
1027Communication initialization error
1028I/O control error
1029Connection failure
1030Send error
1031Receive error
1032Cannot create a thread
1033Error while parsing protocol
1034Exceed maximum number of sessions
1035Not supported version
1036Invalid session ID
1037Unknown hostname
1280SqlScript error
1281Wrong number or types of parameters in call
1282Output parameter not avariable
1283OUT and IN OUT parameters may not have default expressions
1284Duplicate parameters are not permitted
1285At most one declaration is permitted in the declaration section
1286Cursor must be declared by SELECT statement
1287Identifier must be declared
1288Expression cannot be used as an assignment target
1289Expression cannot be used as an INTO-target of SELECT/FETCH statement
1290Expression is inappropriate as the left hand side of an assignment statement
1291Expression is of wrong type
1292Illegal EXIT statement, it must appear inside a loop
1293Identifier name must be an exception name
1294An INTO clause is expected in SELECT statement
1295EXPLAIN PLAN and CALL statement are not allowed
1296Identifier is not a cursor
1297Wrong number of values in the INTO list of a FETCH statement
1298Unhandled user-defined exception
1299No data found
1300Fetch returns more than requested number of rows
1301Numeric or value error
1302Parallelizable function cannot have OUT or IN OUT parameter
1303User-defined exception
1304Cursor is already opened
1305Return type is invalid
1306Return type mismatch
1307Unsupported datatype is used
1308Illegal single assignment
1309Invalid use of table variable
1310Scalar type is not allowed
1311Out parameter is not specified
1312At most one output parameter is allowed
1313Output parameter should be a table or a table variable
1314Inappropriate variable name: do not allow "" for the name of variable or parameter
1315Return result set from select stmt exist when result view is defined
1316Some out table var is not assigned
1317Function name exceedes max. limit
1318Built-in function not defined
1319Parameter must be a table name
1320Parameter must be an attribute name without a table name upfront
1321Parameter must be an attribute name without an alias
1322CE_CALC not allowed
1323Parameter must be a vector of columns or aggregations
1324Join attribute must be available in projection list
1325Parameter must be a vector of SQL identifiers
1326Duplicate attribute name
1327Parameter has a non supported type
1328Attribute not found in column table
1329Duplicate column name
1330Syntax Error for calculated Attribute
1331Syntax Error in filter expression
1332Parameter must be a valid column table name
1333Join attributes not found in variable
1334Input parameters do not have the same table type
1335Cyclic dependency found in a runtime procedure
1336Unexpected internal exception caught in a runtime procedure
1337Variable depends on an unassigned variable
1338CE_CONVERSION: customizing table missing
1339Too many parameters
1340The depth of the nested call is too deep
1536Swapx error
1537This table has no swap space
1538Swap already activated
1539Swap not yet activated
1540Swap space is not created
1541Failure in unpinning a swap page
1542Failure in swap file
1543Failure in accessing swap data file
1544Failure in accessing swap log file
1545Swap buffer overflow
1546Swap buffer reservation failure
1792Shared memory error
1793Invalid key or invalid size
1794The segment already exists
1795Exceed the system-wide limit on shared memory
1796No segment exists for the given key, and IPC_CREAT was not specified
1797The user does not have permission to access the shared memory segment
1798No memory could be allocated for segment overhead
1799Invalid shmid
1800Allow read access for shmid
1801Shmid points to a removed identifier
1802The effective user ID of the calling process is not the creator
1803The GID or UID value is too large to be stored in the structure
1804The user does not have permission to access the shared memory segment
1805Invalid shmid
1806No memory could be allocated for the descriptor or for the page tables
1807Unknown shared memory error
2048Column store error
2049Primary key is not specified for column table
2050Not supported ddl type for column table
2051Not supported data type for column table
2052Not supported dml type for column table
2053Invalid returned value from attribute engine
2304Python DBAPI error
2305Interface failure
2306Programming mistake
2307Invalid query parameter
2308Not supported encoding for string
2560Distributed metadata error
2561DDL redirect error
2562DDL notification error
2563DDL invalid container ID
2564DDL invalid index ID
2565Distributed environment error
2566Network error
2567Metadata update not supported in slave
2568Metadata update of master indexserver is failed
2816SqlScript Error
2817SqlScript Builtin Function
2818 - 2889SqlScript
3584Distributed SQL error
3585Expression shipping failure
3586Operator shipping failure
3587Invalid protocol or indexserver (statisticsserver) shutdown during distributed query execution
3588Sequence shipping failure
3589Remote query exectuion failure
3840general auditing error
3841Invalid privilege
3842Audit trail writer is blocked
3843Audit policy with current name already exists
3844Invalid combination of audit actions
3845Invalid action status for auditing
3846Invalid auditing level
3847Invalid policy name
4096General error in the process of stored plan
4097Invalid operation in generating plans
4098Invalid operation in execution the chosen plan
4099Invalid operation in storing the pinned plan
4100Invalid operation in loading the stored plan
4101Invalid operation in deleting the chosen plan
4103Failed to prepare for runtime reorganization
4104Transaction blocked since runtime reorganization is in progress
4105ERR_REORG_TRANS_EXISTS_GENERAL. Cannot start reorganization due to the transactions in execution

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值