CUBRID学习笔记 35 net驱动错误码和信息 cubrid教程示例

本文详细列举了CUBRID数据库操作中可能出现的各种错误代码及其含义,包括从ER_NO_ERROR到ER_UNKNOWN的24种常见错误类型,为开发者提供了解决数据库操作异常的重要参考。
DO.NET Error Code NumberError CodeError MessageNote
0ER_NO_ERROR"No Error" 
1ER_NOT_OBJECT"Index's Column is not an object" 
2ER_DBMS"Server Error - Check CUBRID Error Codes" 
3ER_COMMUNICATION"Cannot communicate with the broker" 
4ER_NO_MORE_DATA"Invalid dataReader position" 
5ER_TYPE_CONVERSION"DataType conversion error" 
6ER_BIND_INDEX"Missing or invalid position of the bind variable provided" 
7ER_NOT_BIND"Attempt to execute the query when not all the parameters are binded" 
8ER_WAS_NULL"Internal Error: NULL value encountered" 
9ER_COLUMN_INDEX"Column index is out of range" 
10ER_TRUNCATE"Data is truncated because receive buffer is too small" 
11ER_SCHEMA_TYPE"Internal error: Illegal schema paramCUBRIDDataType" 
12ER_FILE"File access failed" 
13ER_CONNECTION"Cannot connect to a broker" 
14ER_ISO_TYPE"Unknown transaction isolation level" 
15ER_ILLEGAL_REQUEST"Internal error: The requested information is not available" 
16ER_INVALID_ARGUMENT"The argument is invalid" 
17ER_IS_CLOSED"Connection or Statement might be closed" 
18ER_ILLEGAL_FLAG"Internal error: Invalid argument" 
19ER_ILLEGAL_DATA_SIZE"Cannot communicate with the broker or received invalid packet" 
20ER_NO_MORE_RESULT"No More Results" 
21ER_OID_IS_NOT_INCLUDED"The ResultSet does not include the OID" 
22ER_CMD_IS_NOT_INSERT"Command is not INSERT" 
23ER_UNKNOWN"Other Error" 

转载于:https://www.cnblogs.com/wang2650/p/5287974.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值