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 ...
随机推荐
- POJ1159 Palindrome(dp)
题目链接. 分析: 感叹算法的力量. 方法一: 设 dp[i][j] 为字符串 s, 从 i 到 j 需要添加的最少字符数. 那么如果 s[i] == s[j], dp[i][j] = dp[i+1] ...
- COJ 0538 购物问题
购物问题 难度级别:C: 运行时间限制:1000ms: 运行空间限制:51200KB: 代码长度限制:2000000B 试题描述 由于换季,ACM商场推出优惠活动,以超低价格出售若干种商品.但是,商场 ...
- OI记忆口诀
splay_rotate: inline void rotate(splay_node *x){ splay_node *y,*z;int d1,d2; d1=get_parent(x,y);//三个 ...
- jQuery Builder
简介 作用:customize jQuery,可以仅包含自己想要的模块 jQuery Builder lets you easily build a custom version of jQuery ...
- 基于deb包快速搭建内外apt源
- solr + tomcat 搭建
1.准备jdk7和tomcat72.拷贝solr目录下example/webapps/solr.war,到tomcat下的webapps目录中.3.启动tomcat74.编辑tomcat7中的weba ...
- iOS 通过个推 推送原理
目前使用过的第三方推送很多,有极光, 友盟,个推等,现在主要针对个推,谈谈我对推送流程的理解. 在项目中,如果想要实现评论 推送功能 需要进行以下步骤: 1. 在用户登录的时候 通过 [GeTui ...
- SKPhysicsJointPin类
继承自 NSObject 符合 NSCoding(SKPhysicsJoint)NSObject(NSObject) 框架 /System/Library/Frameworks/SpriteKit. ...
- 工作那些事(四)大公司VS小公司
都说大公司学做人,小公司学做事.这话有一定的道理,但是也不是绝对的.做人简单地说就是与人打交道,为人处世:做事,对我们来说就是实现需求,解决bug.有句话,是这么说的:有人的地方就有江湖,有江湖,就得 ...
- ViewPager 详解(五)-----使用Fragment实现ViewPager滑动
前言:前几篇文章讲解了ViewPager的普通实现方法,但Android官方最推荐的一种实现方法却是使用fragment,下面我们使用fragment来重新实现一下第一篇<ViewPager 详 ...