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 ...
随机推荐
- 教你如何用Qt做透明的窗体,setMask, Opacity
// In this function, we can get the height and width of the current widgetvoid Widget::resizeEvent(Q ...
- LaTeX排版工具使用
专业的论文,都是用Latex.CTex等相关的工具.那么,用word写论文,缺点在哪? latex 写的东西,最终要编译成pdf格式的.里面的格式,尤其是数学类符号等,比较漂亮.这是word不能比的. ...
- WordPress NextGEN Gallery ‘upload.php’任意文件上传漏洞
漏洞名称: WordPress NextGEN Gallery ‘upload.php’任意文件上传漏洞 CNNVD编号: CNNVD-201306-259 发布时间: 2013-06-20 更新时间 ...
- 【转】Android源代码查看途径
原文网址:http://www.it165.net/pro/html/201501/32967.html 作为一个android coder,多阅读android源码对提高android开发水平是很有 ...
- HBase MemStoreFlusher
HBase MemStore Flush由类org.apache.hadoop.hbase.regionserver.MemStoreFlusher实现,具体表现为HRegionServer中的一个实 ...
- delphi 自定义消息
delphi 自定义消息 消息描述 Tmsg是 Windows系统用来记录描述一个具体的windows消息的.就是windows 用于封装应用程序及系统程序发生的消息,它是操作系统使用 ...
- cf590B Chip 'n Dale Rescue Rangers
B. Chip 'n Dale Rescue Rangers time limit per test 1 second memory limit per test 256 megabytes inpu ...
- iOS内存管理(一)
最近有时间,正好把iOS相关的基础知识好好的梳理了一下,记录一下内存相关方面的知识. 在理解内存管理之前我觉得先对堆区和栈区有一定的了解是非常有必要的. 栈区:就是由编译器自动管理内存分配,释放过程的 ...
- JS 实现显示和隐藏div(以百度地图为例)
主要参考的文章:https://my.oschina.net/xsh1208/blog/215811,https://zhidao.baidu.com/question/568774688.html ...
- 【服务器运维】Windows Server 2008 R2 下配置证书服务器和HTTPS
前言 2017年1月1日起App Store上的所有App应用将强制开启ATS功能. 苹果的ATS(App Transport Security)对服务器硬性3点要求: ① ATS要求TLS1.2或者 ...