sql错误代码一览表
http://docstore.mik.ua/orelly/java-ent/jenut/ch08_06.htm
Table 8-3. SQL-92 SQLSTATE Return Codes
Class |
Class Definition |
Subclass |
Subclass Definition |
---|---|---|---|
00 |
Successful completion |
000 |
None |
01 |
Warning |
000 |
None |
001 |
Cursor operation conflict |
||
002 |
Disconnect error |
||
003 |
Null value eliminated in set function |
||
004 |
String data, right truncation |
||
005 |
Insufficient item descriptor areas |
||
006 |
Privilege not revoked |
||
007 |
Privilege not granted |
||
008 |
Implicit zero-bit padding |
||
009 |
Search expression too long for information schema |
||
00A |
Query expression too long for information schema |
||
02 |
No data |
000 |
None |
07 |
Dynamic SQL error |
000 |
None |
001 |
Using clause doesn't match dynamic parameters |
||
002 |
Using clause doesn't match target specifications |
||
003 |
Cursor specification can't be executed |
||
004 |
Using clause required for dynamic parameters |
||
005 |
Prepared statement not a cursor specification |
||
006 |
Restricted data type attribute violation |
||
007 |
Using clause required for result fields |
||
008 |
Invalid descriptor count |
||
009 |
Invalid descriptor index |
||
08 |
Connection Exception |
000 |
None |
001 |
SQL-client unable to establish SQL-connection |
||
002 |
Connection name in use |
||
003 |
Connection doesn't exist |
||
004 |
SQL-server rejected establishment of SQL-connection |
||
006 |
Connection failure |
||
007 |
Transaction resolution unknown |
||
0A |
Feature not supported |
000 |
None |
001 |
Multiple server transactions |
||
21 |
Cardinality violation |
000 |
None |
22 |
Data exception |
000 |
None |
001 |
String data, right truncation |
||
002 |
Null value, no indicator |
||
003 |
Numeric value out of range |
||
005 |
Error in assignment |
||
007 |
Invalid date-time format |
||
008 |
Date-time field overflow |
||
009 |
Invalid time zone displacement value |
||
011 |
Substring error |
||
012 |
Division by zero |
||
015 |
Internal field overflow |
||
018 |
Invalid character value for cast |
||
019 |
Invalid escape character |
||
021 |
Character not in repertoire |
||
022 |
Indicator overflow |
||
023 |
Invalid parameter value |
||
024 |
Unterminated C string |
||
025 |
Invalid escape sequence |
||
026 |
String data, length mismatch |
||
027 |
Trim error |
||
23 |
Integrity constraint violation |
000 |
None |
24 |
Invalid cursor state |
000 |
None |
25 |
Invalid transaction state |
000 |
None |
26 |
Invalid SQL statement name |
000 |
None |
27 |
Triggered data change violation |
000 |
None |
28 |
Invalid authorization specification |
000 |
None |
2A |
Syntax error or access rule violation in direct SQL statement |
000 |
None |
2B |
Dependent privilege descriptors still exist |
000 |
None |
2C |
Invalid character set name |
000 |
None |
2D |
Invalid transaction termination |
000 |
None |
2E |
Invalid connection name |
000 |
None |
33 |
Invalid SQL descriptor name |
000 |
None |
34 |
Invalid cursor name |
000 |
None |
35 |
Invalid condition number |
000 |
None |
37 |
Syntax error or access rule violation in dynamic SQL statement |
000 |
None |
3C |
Ambiguous cursor name |
000 |
None |
3F |
Invalid schema name |
000 |
None |
40 |
Transaction rollback |
000 |
None |
001 |
Serialization failure |
||
002 |
Integrity constraint violation |
||
003 |
Statement completion unknown |
||
42 |
Syntax error or access rule violation |
000 |
None |
44 |
With check option violation |
000 |
None |
sql错误代码一览表的更多相关文章
- SQL错误代码弹出提示信息类
截获SQL错误代码弹出提示信息类 Code:public class DBErrorCode{ /// <summary> /// 根据错误代码弹出错误提示 /// &l ...
- http 错误代码一览表
http协议一些常见的状态码为: 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码. 代码 说明 100 (继续) 请求者应当继续提出请求. 服务器返回此代码表示已收到请求的第一部分 ...
- CMPP错误码说明
与中国移动代码的对应关系. MI::zzzzSMSC返回状态报告的状态值为EXPIREDMJ:zzzzSMSC返回状态报告的状态值为DELETEDMK:zzzzSMSC返回状态报告的状态值为UNDEL ...
- 转!!CMPP 网关错误码说明
http://www.163duanxin.com/msg/1753.htm CMPP错误码说明 与中国移动代码的对应关系. MI::zzzzSMSC返回状态报告的状态值为EXPIREDMJ:zz ...
- mysql存储过程笔记
http://blog.csdn.net/wangchao0605/article/details/5935988 基本语法 创建存储过程 create procedure sp_name()begi ...
- MYSQL异常和错误机制
BEGIN ; ; ; START TRANSACTION; call put_playerbehavior(i_playerid,i_gameid,i_channelid,i_acttime,@a) ...
- nodejs mysql 数据查询例子
1.安装nodejs 2.安装mysql npm包 地址:https://github.com/felixge/node-mysql npm install mysql 3.相应API查看及调用: ...
- informix存储过程笔记
一.存储过程概述 存储过程是一个用户定义的函数,由存储过程语句(SPL) 和一组SQL语句组成,以可以执行代码形式存储在数据库中,和表.视图.索引等一样,是数据库的一种对象. 存储过程语言SPL(St ...
- Informix存储过程
一.存储过程概述 存储过程是一个用户定义的函数,由存储过程语句(SPL) 和一组SQL语句组成,以可以执行代码形式存储在数据库中,和表.视图.索引等一样,是数据库的一种对象. 存储过程语言SPL(St ...
随机推荐
- 软硬大比拼 硅胶、TPU和PC材质对比
手机保护壳的材质有很多种,目前保护壳市场上最为常见的就是硅胶.TPU.PC材质了.那么我们不禁要问,PU.硅胶.PC三材质到底有哪些区别呢?普通消费者在购买保护壳的时候能否从外表就能看出保护壳材质?P ...
- Configure swagger with spring boot
If you haven’t starting working with spring boot yet, you will quickly find that it pulls out all th ...
- windows下和linux下 Redis 安装
Redis 是一个高性能的key-value数据库, 使用内存作为主存储,数据访问速度非常快,当然它也提供了两种机制支持数据持久化存储.比较遗憾的是,Redis项目不直接支持Windows,Windo ...
- 【模拟】HDU 5752 Sqrt Bo
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5752 题目大意: 定义f(n)=⌊√n⌋,fy(n)=f(fy-1(n)),求y使得fy(n)=1. ...
- SharePoint Server 2010安装图解
SharePoint Server 2010作为MOSS 2007的升级版本,自从2009年底发布Beta版本以来就备受关注,网络上已经出现了很多相关的文章,其中也不乏中文的信息. 最近SharePo ...
- puppet report import
把Puppet报告导入Puppet Dashboard 现在Dashboard正在运行,而我们需要确保它能够获取Puppet报告.完成这项工作有几种方法,开始的时候都是用Rake任务导入旧报告.在/u ...
- RHEL6配置IP
修改配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0BOOTPROTO=noneBROADCAST=192.168.10.255HW ...
- C#中问号的使用
1. 可空类型修饰符(?): 引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空. 例如:string str=null; 是正确的,int i=null; 编译器就会报错. 为了使值 ...
- js转码和解码兼容低版本火狐
function HTMLEncode(html) { var temp = document.createElement("div"); ...
- 对openflow 1.0协议的扩展
通过这几天对openvswitch代码的分析,以及项目的须要,须要对openflow 1.0进行一定的扩展,发现网上没有这方面的教程,尽管在搞懂ovs代码架构,floodlight controlle ...