DB2 开发常遇到一些错误,从网上找了一些资料,留查错使用
DB2 UDB的AS/400 SQL编程
Negative SQLCODEs 负SQLCODE#
SQL0007 SQLCODE -07 SQLSTATE 42601 SQL0007 SQLCODE -07 SQLSTATE 42601
Explanation: Character &1 (HEX &2) not valid in SQL statement. 说明:字符1号(HEX&2)在SQL语句有效。
SQL0010 SQLCODE -10 SQLSTATE 42603 SQL0010 SQLCODE -10 SQLSTATE 42603
Explanation: String constant beginning &1 not delimited. 说明:字符串常量开头和1不分隔。
SQL0029 SQLCODE -29 SQLSTATE 42601 SQL0029 SQLCODE -29 SQLSTATE 42601
Explanation: INTO clause missing from embedded SELECT statement. 说明:从嵌入式INTO子句的SELECT语句丢失。
SQL0051 SQLCODE -51 SQLSTATE 3C000 SQL0051 SQLCODE -51 SQLSTATE 3C000
Explanation: Cursor or procedure &1 previously declared. 说明:游标或过程及1先前声明。
SQL0060 SQLCODE -60 SQLSTATE 42815 SQL0060 SQLCODE -60 SQLSTATE 42815
Explanation: Value &3 for argument &1 of &2 function not valid. 说明:价值与为参数及1和2的功能无效3。
SQL0080 SQLCODE -80 SQLSTATE 42978 SQL0080 SQLCODE -80 SQLSTATE 42978
Explanation: Indicator variable &1 not SMALLINT type. 说明:指标变数及1不SMALLINT类型。
SQL0084 SQLCODE -84 SQLSTATE 42612 SQL0084 SQLCODE -84 SQLSTATE 42612
Explanation: SQL statement not allowed. 说明:SQL语句不允许的。
SQL0090 SQLCODE -90 SQLSTATE 42618 SQL0090 SQLCODE -90 SQLSTATE 42618
Explanation: Host variable not permitted here. 说明:主机变量不允许在这里。
SQL0097 SQLCODE -97 SQLSTATE 42601 SQL0097 SQLCODE -97 SQLSTATE 42601
Explanation: Use of data type not valid. 说明:使用的数据类型无效。
SQL0099 SQLCODE -99 SQLSTATE 42992 SQL0099 SQLCODE -99 SQLSTATE 42992
Explanation: Operator in join condition not valid. 说明:在连接条件无效操作。
SQL0101 SQLCODE -101 SQLSTATE 54001, 54010, 54011 SQL0101 SQLCODE -101 SQLSTATE 54001,54010,54011
Explanation: SQL statement too long or complex. 说明:SQL语句太长或复杂。
SQL0102 SQLCODE -102 SQLSTATE 54002 SQL0102 SQLCODE -102 SQLSTATE 54002
Explanation: String constant beginning with &1 too long. 说明:字符串常量开头和1太长。
SQL0103 SQLCODE -103 SQLSTATE 42604 SQL0103 SQLCODE -103 SQLSTATE 42604
Explanation: Numeric constant &1 not valid. 说明:数字常量和1无效。
SQL0104 SQLCODE -104 SQLSTATE 42601 SQL0104 SQLCODE -104 SQLSTATE 42601
Explanation: Token &1 was not valid. 说明:令牌&1无效。 Valid tokens: &2.有效的标记:&2。
SQL0105 SQLCODE -105 SQLSTATE 42604 SQL0105 SQLCODE -105 SQLSTATE 42604
Explanation: Mixed or graphic string constant not valid. 说明:混合或图形字符串常量无效。
SQL0106 SQLCODE -106 SQLSTATE 42611 SQL0106 SQLCODE -106 SQLSTATE 42611
Explanation: Precision specified for FLOAT column not valid. 说明:为FLOAT列无效指定的精度。
SQL0107 SQLCODE -107 SQLSTATE 42622 SQL0107 SQLCODE -107 SQLSTATE 42622
Explanation: &1 too long. 说明:&1太长。 Maximum &2 characters.最大和2个字符。
SQL0109 SQLCODE -109 SQLSTATE 42601 SQL0109 SQLCODE -109 SQLSTATE 42601
Explanation: &1 clause not allowed. 说明:&1条不允许的。
SQL0110 SQLCODE -110 SQLSTATE 42606 SQL0110 SQLCODE -110 SQLSTATE 42606
Explanation: Hexadecimal constant beginning with &1 not valid. 说明:十六进制常量开头和1无效。
SQL0112 SQLCODE -112 SQLSTATE 42607 SQL0112 SQLCODE -112 SQLSTATE 42607
Explanation: Argument of function &1 is another function. 说明:功能与参数1是另一种功能。
SQL0113 SQLCODE -113 SQLSTATE 28000, 2E000, 42602 SQL0113 SQLCODE -113 SQLSTATE 28000,2E000,42602
Explanation: Name &1 not allowed. 说明:产品名称及1不允许的。
SQL0114 SQLCODE -114 SQLSTATE 42961 SQL0114 SQLCODE -114 SQLSTATE 42961
Explanation: Relational database &1 not the same as current server &2. 说明:关系型数据库和1不是因为当前的服务器和2相同。
SQL0115 SQLCODE -115 SQLSTATE 42601 SQL0115 SQLCODE -115 SQLSTATE 42601
Explanation: Comparison operator &1 not valid. 说明:比较操作符&1无效。
SQL0117 SQLCODE -117 SQLSTATE 42802 SQL0117 SQLCODE -117 SQLSTATE 42802
Explanation: Statement inserts wrong number of values. 说明:表中插入值的错误数量。
SQL0118 SQLCODE -118 SQLSTATE 42902 SQL0118 SQLCODE -118 SQLSTATE 42902
Explanation: Table &1 in &2 also specified in a FROM clause. 说明:表&1&2也是在FROM子句中指定。
SQL0119 SQLCODE -119 SQLSTATE 42803 SQL0119 SQLCODE -119 SQLSTATE 42803
Explanation: Column &1 in HAVING clause not in GROUP BY. 说明:列及在HAVING子句不GROUP BY 1。
SQL0120 SQLCODE -120 SQLSTATE 42903 SQL0120 SQLCODE -120 SQLSTATE 42903
Explanation: Use of column function &2 not valid. 说明:列函数和2无效使用。
SQL0121 SQLCODE -121 SQLSTATE 42701 SQL0121 SQLCODE -121 SQLSTATE 42701
Explanation: Duplicate column name &1 in INSERT or UPDATE. 说明:重复的列名及在INSERT或UPDATE 1。
SQL0122 SQLCODE -122 SQLSTATE 42803 SQL0122 SQLCODE -122 SQLSTATE 42803
Explanation: Column specified in SELECT list not valid. 说明:在SELECT列表中指定的列无效。
SQL0125 SQLCODE -125 SQLSTATE 42805 SQL0125 SQLCODE -125 SQLSTATE 42805
Explanation: ORDER BY column number &1 not valid. 说明:按列号和1无效订单。
SQL0128 SQLCODE -128 SQLSTATE 42601 SQL0128 SQLCODE -128 SQLSTATE 42601
Explanation: Use of NULL is not valid. 说明:NULL使用是无效的。
SQL0129 SQLCODE -129 SQLSTATE 54004 SQL0129 SQLCODE -129 SQLSTATE 54004
Explanation: Too many tables in SQL statement. 说明:在SQL语句太多的表。
SQL0130 SQLCODE -130 SQLSTATE 22019, 22025 SQL0130 SQLCODE -130 SQLSTATE 22019,22025
Explanation: Escape character &1 or LIKE pattern not valid. 说明:转义字符与LIKE模式1或无效。
SQL0131 SQLCODE -131 SQLSTATE 42818 SQL0131 SQLCODE -131 SQLSTATE 42818
Explanation: Operands of LIKE not compatible or not valid. 说明:LIKE操作数不兼容或无效。
SQL0132 SQLCODE -132 SQLSTATE 42824 SQL0132 SQLCODE -132 SQLSTATE 42824
Explanation: LIKE predicate not valid. 说明:LIKE谓词无效。
SQL0133 SQLCODE -133 SQLSTATE 42906 SQL0133 SQLCODE -133 SQLSTATE 42906
Explanation: Operator on correlated column in SQL function not valid. 说明:在SQL相关列操作功能无效。
SQL0134 SQLCODE -134 SQLSTATE 42907 SQL0134 SQLCODE -134 SQLSTATE 42907
Explanation: Argument of function too long. 说明:函数的参数太长。
SQL0136 SQLCODE -136 SQLSTATE 54005 SQL0136 SQLCODE -136 SQLSTATE 54005
Explanation: ORDER BY or GROUP BY columns too long. 说明:ORDER BY或GROUP BY列太长。
SQL0137 SQLCODE -137 SQLSTATE 54006 SQL0137 SQLCODE -137 SQLSTATE 54006
Explanation: Result too long. 说明:结果太长。
SQL0138 SQLCODE -138 SQLSTATE 22011 SQL0138 SQLCODE -138 SQLSTATE 22011
Explanation: Argument &1 of SUBSTR function not valid. 说明:参数及功能的SUBSTR 1无效。
SQL0144 SQLCODE -144 SQLSTATE 58003 SQL0144 SQLCODE -144 SQLSTATE 58003
Explanation: Section number not valid. 说明:第号码无效。
SQL0145 SQLCODE -145 SQLSTATE 55005 SQL0145 SQLCODE -145 SQLSTATE 55005
Explanation: Recursion not supported for an application server other than the AS/400 system. 说明:递归不是应用服务器比AS/400系统的其他支持。
SQL0150 SQLCODE -150 SQLSTATE 42807 SQL0150 SQLCODE -150 SQLSTATE 42807
Explanation: View or logical file &1 in &2 read-only. 说明:查看或逻辑文件&1&2只读。
SQL0151 SQLCODE -151 SQLSTATE 42808 SQL0151 SQLCODE -151 SQLSTATE 42808
Explanation: Column &1 in table &2 in &3 read-only. 说明:表列&&2 1&3只读。
SQL0152 SQLCODE -152 SQLSTATE 42809 SQL0152 SQLCODE -152 SQLSTATE 42809
Explanation: Constraint type not valid for constraint &1 in &2. 说明:约束类型不限制在&2&1有效。
SQL0153 SQLCODE -153 SQLSTATE 42908 SQL0153 SQLCODE -153 SQLSTATE 42908
Explanation: Column list required for CREATE VIEW. 说明:列清单CREATE VIEW需要。
SQL0154 SQLCODE -154 SQLSTATE 42909 SQL0154 SQLCODE -154 SQLSTATE 42909
Explanation: UNION and UNION ALL for CREATE VIEW not valid. 说明:UNION和UNION ALL的CREATE VIEW无效。
SQL0156 SQLCODE -156 SQLSTATE 42809 SQL0156 SQLCODE -156 SQLSTATE 42809
Explanation: &1 in &2 not a table. 说明:&1&2不是表。
SQL0157 SQLCODE -157 SQLSTATE 42810 SQL0157 SQLCODE -157 SQLSTATE 42810
Explanation: View &1 in &2 not valid in FOREIGN KEY clause. 说明:查看和1和2不FOREIGN KEY子句有效。
SQL0158 SQLCODE -158 SQLSTATE 42811 SQL0158 SQLCODE -158 SQLSTATE 42811
Explanation: Number of columns specified not consistent. 说明:指定的列数并不一致。
SQL0159 SQLCODE -159 SQLSTATE 42809 SQL0159 SQLCODE -159 SQLSTATE 42809
Explanation: &1 in &2 not correct type. 说明:&1和2不正确的类型。
SQL0160 SQLCODE -160 SQLSTATE 42813 SQL0160 SQLCODE -160 SQLSTATE 42813
Explanation: WITH CHECK OPTION not allowed for view &1 in &2. 说明:WITH CHECK OPTION不查看&2&1允许的。
SQL0161 SQLCODE -161 SQLSTATE 44000 SQL0161 SQLCODE -161 SQLSTATE 44000
Explanation: INSERT/UPDATE not allowed due to WITH CHECK OPTION. 说明:INSERT / UPDATE不允许WITH CHECK OPTION所致。
SQL0170 SQLCODE -170 SQLSTATE 42605 SQL0170 SQLCODE -170 SQLSTATE 42605
Explanation: Number of arguments for function &1 not valid. 说明:为功能及1无效的参数数目。
SQL0171 SQLCODE -171 SQLSTATE 42815 SQL0171 SQLCODE -171 SQLSTATE 42815
Explanation: Argument &1 of function &2 not valid. 说明:参数及功能无效1和2。
SQL0175 SQLCODE -175 SQLSTATE 58028 SQL0175 SQLCODE -175 SQLSTATE 58028
Explanation: COMMIT failed. 说明:COMMIT失败。
SQL0180 SQLCODE -180 SQLSTATE 22007 SQL0180 SQLCODE -180 SQLSTATE 22007
Explanation: Syntax of date, time, or timestamp value not valid. 说明:日期,时间或时间戳记值不是有效的语法。
SQL0181 SQLCODE -181 SQLSTATE 22007 SQL0181 SQLCODE -181 SQLSTATE 22007
Explanation: Value in date, time, or timestamp string not valid. 说明:日期,时间或时间戳记值的字符串无效。
SQL0182 SQLCODE -182 SQLSTATE 42816 SQL0182 SQLCODE -182 SQLSTATE 42816
Explanation: A date, time, or timestamp expression not valid. 说明:日期,时间或时间戳记表达无效。
SQL0183 SQLCODE -183 SQLSTATE 22008 SQL0183 SQLCODE -183 SQLSTATE 22008
Explanation: The result of a date or timestamp expression not valid. 说明:日期或时间戳表达无效的结果。
SQL0184 SQLCODE -184 SQLSTATE 42610 SQL0184 SQLCODE -184 SQLSTATE 42610
Explanation: Parameter marker not valid in expression. 说明:参数标记不能有效的表达式。
SQL0187 SQLCODE -187 SQLSTATE 42816 SQL0187 SQLCODE -187 SQLSTATE 42816
Explanation: Use of labeled duration is not valid. 说明:标有使用期限是无效的。
SQL0188 SQLCODE -188 SQLSTATE 22503, 28000, 2E000 SQL0188 SQLCODE -188 SQLSTATE 22503,28000,2E000
Explanation: &1 is not a valid string representation of an authorization name or a relational database name. 说明:&1不是一个授权名称或关系数据库名称的有效字符串表示形式。
SQL0189 SQLCODE -189 SQLSTATE 22522 SQL0189 SQLCODE -189 SQLSTATE 22522
Explanation: Coded Character Set Identifier &1 is not valid. 说明:编码字符集标识&1无效。
SQL0190 SQLCODE -190 SQLSTATE 42837 SQL0190 SQLCODE -190 SQLSTATE 42837
Explanation: Attributes of column &3 in &1 in &2 not compatible. 说明:列和3&1和2不兼容的属性。
SQL0191 SQLCODE -191 SQLSTATE 22504 SQL0191 SQLCODE -191 SQLSTATE 22504
Explanation: MIXED data not properly formed. 说明:不正确格式的混合数据。
SQL0192 SQLCODE -192 SQLSTATE 42937 SQL0192 SQLCODE -192 SQLSTATE 42937
Explanation: Argument of TRANSLATE function not valid. 说明:translate函数无效的参数。
SQL0194 SQLCODE -194 SQLSTATE 42848 SQL0194 SQLCODE -194 SQLSTATE 42848
Explanation: KEEP LOCKS not allowed. 说明:保持锁不允许的。
SQL0195 SQLCODE -195 SQLSTATE 42814 SQL0195 SQLCODE -195 SQLSTATE 42814
Explanation: Last column of &1 in &2 cannot be dropped. 说明:&1&2最后一列不能被丢弃。
SQL0196 SQLCODE -196 SQLSTATE 42817 SQL0196 SQLCODE -196 SQLSTATE 42817
Explanation: Column &3 in &1 in &2 cannot be dropped with RESTRICT. 说明:列在&&1&2 3不能与RESTRICT下降。
SQL0197 SQLCODE -197 SQLSTATE 42877 SQL0197 SQLCODE -197 SQLSTATE 42877
Explanation: Column &1 cannot be qualified. 说明:列和1不能胜任。
SQL0198 SQLCODE -198 SQLSTATE 42617 SQL0198 SQLCODE -198 SQLSTATE 42617
Explanation: SQL statement empty or blank. 说明:SQL语句空或空白。
SQL0199 SQLCODE -199 SQLSTATE 42601 SQL0199 SQLCODE -199 SQLSTATE 42601
Explanation: Keyword &1 not expected. 说明:关键字:1预计不会。 Valid tokens: &2.有效的标记:&2。
SQL0203 SQLCODE -203 SQLSTATE 42702 SQL0203 SQLCODE -203 SQLSTATE 42702
Explanation: Column &1 is ambiguous. 说明:列&1是模糊的。
SQL0204 SQLCODE -204 SQLSTATE 42704 SQL0204 SQLCODE -204 SQLSTATE 42704
Explanation: &1 in &2 type *&3 not found. 说明:&1&2&3型*未找到。
SQL0205 SQLCODE -205 SQLSTATE 42703 SQL0205 SQLCODE -205 SQLSTATE 42703
Explanation: Column &1 not in table &2. 说明:表列及1和2没有。
SQL0206 SQLCODE -206 SQLSTATE 42703 SQL0206 SQLCODE -206 SQLSTATE 42703
Explanation: Column &1 not in specified tables. 说明:列及在指定的表不1。
SQL0208 SQLCODE -208 SQLSTATE 42707 SQL0208 SQLCODE -208 SQLSTATE 42707
Explanation: ORDER BY column &1 not in results table. 说明:按列和1结果不表的顺序。
SQL0212 SQLCODE -212 SQLSTATE 42712 SQL0212 SQLCODE -212 SQLSTATE 42712
Explanation: Duplicate table designator &1 not valid. 说明:重复的表标志及1无效。
SQL0214 SQLCODE -214 SQLSTATE 42822 SQL0214 SQLCODE -214 SQLSTATE 42822
Explanation: ORDER BY expression is not valid. 说明:ORDER BY表达式是无效的。
SQL0221 SQLCODE -221 SQLSTATE 42873 SQL0221 SQLCODE -221 SQLSTATE 42873
Explanation: Number of rows &2 not valid. 说明:行和2没有有效的数字。
SQL0225 SQLCODE -225 SQLSTATE 42872 SQL0225 SQLCODE -225 SQLSTATE 42872
Explanation: FETCH not valid; cursor &1 not declared with SCROLL. 说明:FETCH无效;光标及1不带滚动声明。
SQL0226 SQLCODE -226 SQLSTATE 24507 SQL0226 SQLCODE -226 SQLSTATE 24507
Explanation: Current row deleted or moved for cursor &1. 说明:当前行删除或移动光标及1。
SQL0227 SQLCODE -227 SQLSTATE 24513 SQL0227 SQLCODE -227 SQLSTATE 24513
Explanation: FETCH not valid, cursor &1 in unknown position. 说明:FETCH无效,光标及在未知的位置1。
SQL0228 SQLCODE -228 SQLSTATE 42620 SQL0228 SQLCODE -228 SQLSTATE 42620
Explanation: FOR UPDATE OF clause not valid with SCROLL for cursor &1. 说明:对于不符合第1 SCROLL游标和有效的更新。
SQL0231 SQLCODE -231 SQLSTATE 22006 SQL0231 SQLCODE -231 SQLSTATE 22006
Explanation: Position of cursor &1 not valid for FETCH of current row. 说明:光标和FETCH 1不是有效的当前行的位置。
SQL0250 SQLCODE -250 SQLSTATE 42718 SQL0250 SQLCODE -250 SQLSTATE 42718
Explanation: Local relational database not defined in the directory. 说明:本地关系型数据库未在目录中定义。
SQL0251 SQLCODE -251 SQLSTATE 2E000, 42602 SQL0251 SQLCODE -251 SQLSTATE 2E000,42602
Explanation: Character in relational database name &1 is not valid. 说明:在关系数据库的名称和1个字符是无效的。
SQL0255 SQLCODE -255 SQLSTATE 42999 SQL0255 SQLCODE -255 SQLSTATE 42999
Explanation: DB2 Multisystem query error. 说明:DB2多系统查询错误。
SQL0256 SQLCODE -256 SQLSTATE 42998 SQL0256 SQLCODE -256 SQLSTATE 42998
Explanation: Constraint &1 in &2 not allowed on distributed file. 说明:约束与1和2没有分布式文件允许的。
SQL0270 SQLCODE -270 SQLSTATE 42997 SQL0270 SQLCODE -270 SQLSTATE 42997
Explanation: Unique index not allowed. 说明:唯一索引不允许的。
SQL0301 SQLCODE -301 SQLSTATE 07006,42895 SQL0301 SQLCODE -301 SQLSTATE 07006,42895
Explanation: Input host variable &2 or argument &1 not valid. 说明:输入主机变量或参数&2&1无效。
SQL0302 SQLCODE -302 SQLSTATE 22001, 22003, 22023, 22024 SQL0302 SQLCODE -302 SQLSTATE 22001,22003,22023,22024
Explanation: Conversion error on input host variable &2. 说明:转换上输入主机变量和2错误。
SQL0303 SQLCODE -303 SQLSTATE 22001, 42806 SQL0303 SQLCODE -303 SQLSTATE 22001,42806
Explanation: Host variable &1 not compatible with SELECT item. 说明:主机变量&1不选择项目兼容。
SQL0304 SQLCODE -304 SQLSTATE 22003, 22023, 22504 SQL0304 SQLCODE -304 SQLSTATE 22003,22023,22504
Explanation: Conversion error in assignment to host variable &2. 说明:转换到主机变量分配错误和2。
SQL0305 SQLCODE -305 SQLSTATE 22002 SQL0305 SQLCODE -305 SQLSTATE 22002
Explanation: Indicator variable required. 说明:指标变数必需的。
SQL0306 SQLCODE -306 SQLSTATE 42863 SQL0306 SQLCODE -306 SQLSTATE 42863
Explanation: Undefined host variable in REXX. 说明:在REXX未定义的主机变量。
SQL0311 SQLCODE -311 SQLSTATE 22501 SQL0311 SQLCODE -311 SQLSTATE 22501
Explanation: Length in a varying-length host variable not valid. 说明:在不同长度的宿主变量无效长度。
SQL0312 SQLCODE -312 SQLSTATE 42618 SQL0312 SQLCODE -312 SQLSTATE 42618
Explanation: Host variable &1 not defined or not usable. 说明:主机变量&1未定义或无法使用。
SQL0313 SQLCODE -313 SQLSTATE 07001, 07004 SQL0313 SQLCODE -313 SQLSTATE 07001,07004
Explanation: Number of host variables not valid. 说明:主机变量无效号码。
SQL0328 SQLCODE -328 SQLSTATE 42996 SQL0328 SQLCODE -328 SQLSTATE 42996
Explanation: Column &1 not allowed in partitioning key. 说明:列和1不分区键允许的。
SQL0329 SQLCODE -329 SQLSTATE 0E000 SQL0329 SQLCODE -329 SQLSTATE 0E000
Explanation: The SET PATH name list is not valid. 说明:SET PATH名单无效。
SQL0330 SQLCODE -330 SQLSTATE 22021 SQL0330 SQLCODE -330 SQLSTATE 22021
Explanation: Character conversion cannot be performed. 说明:字符转换无法执行。
SQL0331 SQLCODE -331 SQLSTATE 22021 SQL0331 SQLCODE -331 SQLSTATE 22021
Explanation: Character conversion cannot be performed. 说明:字符转换无法执行。
SQL0332 SQLCODE -332 SQLSTATE 57017 SQL0332 SQLCODE -332 SQLSTATE 57017
Explanation: Character conversion between CCSID &1 and CCSID &2 not valid. 说明:字符之间CCSID&1&2和CCSID无效的转换。
SQL0334 SQLCODE -334 SQLSTATE 22524 SQL0334 SQLCODE -334 SQLSTATE 22524
Explanation: Character conversion has resulted in truncation. 说明:字符转换在截断的结果。
SQL0338 SQLCODE -338 SQLSTATE 42972 SQL0338 SQLCODE -338 SQLSTATE 42972
Explanation: JOIN expression not valid. 说明:JOIN表达式无效。
SQL0340 SQLCODE -340 SQLSTATE 42726 SQL0340 SQLCODE -340 SQLSTATE 42726
Explanation: Duplicate name &1 for common table expression. 说明:重复的名字和对公共表表达式1。
SQL0341 SQLCODE -341 SQLSTATE 42835 SQL0341 SQLCODE -341 SQLSTATE 42835
Explanation: Cyclic references between common table expressions. 说明:公用表表达式之间的循环引用。
SQL0346 SQLCODE -346 SQLSTATE 42836 SQL0346 SQLCODE -346 SQLSTATE 42836
Explanation: Recursion not allowed for common table expressions. 说明:不是允许递归公用表表达式。
SQL0350 SQLCODE -350 SQLSTATE 42962 SQL0350 SQLCODE -350 SQLSTATE 42962
Explanation: Column &1 is not valid as key field for index or constraint. 说明:列和1不作为索引或约束的关键领域有效。
SQL0351 SQLCODE -351 SQLSTATE 56084 SQL0351 SQLCODE -351 SQLSTATE 56084
Explanation: The AR is not at the same level and DB2/400 cannot transform the data type to a compatible type. 说明:AR是不是在同一水平,DB2/400不能转换数据类型兼容的类型。
SQL0352 SQLCODE -352 SQLSTATE 56084 SQL0352 SQLCODE -352 SQLSTATE 56084
Explanation: The AS is not at the same level and DB2/400 cannot transform the data type to a compatible type. 说明:至于是不是在同一水平,DB2/400不能转换数据类型兼容的类型。
SQL0357 SQLCODE -357 SQLSTATE 57050 SQL0357 SQLCODE -357 SQLSTATE 57050
Explanation: File server &1 used in DataLink not currently available. 说明:1,文件服务器和数据链接目前无法使用。
SQL0358 SQLCODE -358 SQLSTATE 428D1 SQL0358 SQLCODE -358 SQLSTATE 428D1
Explanation: Error &1 occurred using DataLink data type. 说明:发生错误&1使用DataLink的数据类型。
SQL0392 SQLCODE -392 SQLSTATE 42855 SQL0392 SQLCODE -392 SQLSTATE 42855
Explanation: Assignment of LOB to specified host variable not allowed. 说明:对指定的主机的LOB变量赋值不允许的。
SQL0398 SQLCODE -398 SQLSTATE 428D2 SQL0398 SQLCODE -398 SQLSTATE 428D2
Explanation: AS LOCATOR cannot be specified for a non-LOB parameter. 说明:AS LOCATOR不能用于非LOB参数。
SQL0401 SQLCODE -401 SQLSTATE 42818 SQL0401 SQLCODE -401 SQLSTATE 42818
Explanation: Comparison operator &1 operands not compatible. 说明:比较操作符&1操作数不兼容。
SQL0402 SQLCODE -402 SQLSTATE 42819 SQL0402 SQLCODE -402 SQLSTATE 42819
Explanation: &1 use not valid. 说明:&1使用无效。
SQL0404 SQLCODE -404 SQLSTATE 22001 SQL0404 SQLCODE -404 SQLSTATE 22001
Explanation: Value for column &1 too long. 说明:值列和1太长。
SQL0405 SQLCODE -405 SQLSTATE 42820 SQL0405 SQLCODE -405 SQLSTATE 42820
Explanation: Numeric constant &1 out of range. 说明:数字常数及1超出范围。
SQL0406 SQLCODE -406 SQLSTATE 22003, 22023, 22504 SQL0406 SQLCODE -406 SQLSTATE 22003,22023,22504
Explanation: Conversion error on assignment to column &2. 说明:转换就分配到列和2错误。
SQL0407 SQLCODE -407 SQLSTATE 23502 SQL0407 SQLCODE -407 SQLSTATE 23502
Explanation: Null values are not allowed in column &1. 说明:空值不列和1允许的。
SQL0408 SQLCODE -408 SQLSTATE 42821 SQL0408 SQLCODE -408 SQLSTATE 42821
Explanation: INSERT or UPDATE value for column &1 not compatible. 说明:INSERT或UPDATE列和1不兼容的值。
SQL0410 SQLCODE -410 SQLSTATE 42820 SQL0410 SQLCODE -410 SQLSTATE 42820
Explanation: Floating point literal &1 not valid. 说明:浮点文字&1无效。
SQL0412 SQLCODE -412 SQLSTATE 42823 SQL0412 SQLCODE -412 SQLSTATE 42823
Explanation: Subquery with more than one result column not valid. 说明:具有多个子查询结果列无效。
SQL0414 SQLCODE -414 SQLSTATE 42824 SQL0414 SQLCODE -414 SQLSTATE 42824
Explanation: Column &1 not valid in LIKE predicate. 说明:列和1不LIKE谓词有效。
SQL0415 SQLCODE -415 SQLSTATE 42825 SQL0415 SQLCODE -415 SQLSTATE 42825
Explanation: UNION operands not compatible. 说明:UNION操作数不兼容。
SQL0417 SQLCODE -417 SQLSTATE 42609 SQL0417 SQLCODE -417 SQLSTATE 42609
Explanation: Combination of parameter markers not valid. 说明:参数组合标记无效。
SQL0418 SQLCODE -418 SQLSTATE 42610 SQL0418 SQLCODE -418 SQLSTATE 42610
Explanation: Use of parameter marker is not valid. 说明:参数标记使用是无效的。
SQL0419 SQLCODE -419 SQLSTATE 42911 SQL0419 SQLCODE -419 SQLSTATE 42911
Explanation: Negative scale not valid. 说明:负规模无效。
SQL0420 SQLCODE -420 SQLSTATE 22018 SQL0420 SQLCODE -420 SQLSTATE 22018
Explanation: Character in CAST argument not valid. 说明:在CAST参数无效字符。
SQL0421 SQLCODE -421 SQLSTATE 42826 SQL0421 SQLCODE -421 SQLSTATE 42826
Explanation: Number of UNION operands not equal. 说明:UNION操作数不相等的数量。
SQL0423 SQLCODE -423 SQLSTATE 0F001 SQL0423 SQLCODE -423 SQLSTATE 0F001
Explanation: LOB locator &1 not valid. 说明:LOB定位器和1无效。
SQL0428 SQLCODE -428 SQLSTATE 25501 SQL0428 SQLCODE -428 SQLSTATE 25501
Explanation: SQL statement cannot be run. 说明:SQL语句不能运行。
SQL0429 SQLCODE -429 SQLSTATE 54028 SQL0429 SQLCODE -429 SQLSTATE 54028
Explanation: The maximum number of concurrent LOB lcoators has been reached. 说明:并发LOB lcoators的最大数量已经达到。
SQL0432 SQLCODE -432 SQLSTATE 42841 SQL0432 SQLCODE -432 SQLSTATE 42841
Explanation: A parameter marker cannot have the user-defined type name &1. 说明:参数标记不能有用户定义类型的名称和1。
SQL0433 SQLCODE -433 SQLSTATE 22001 SQL0433 SQLCODE -433 SQLSTATE 22001
Explanation: Significant digits truncated during CAST from numeric to character. 说明:在从数字到字符科协截断有效数字。
SQL0440 SQLCODE -440 SQLSTATE 42884 SQL0440 SQLCODE -440 SQLSTATE 42884
Explanation: Number of arguments on CALL must match procedure. 说明:在调用参数的数量必须符合程序。
SQL0441 SQLCODE -441 SQLSTATE 42601 SQL0441 SQLCODE -441 SQLSTATE 42601
Explanation: Clause or keyword &1 not valid where specified. 说明:第1或关键字和无效指定的地方。
SQL0442 SQLCODE -442 SQLSTATE 54023 SQL0442 SQLCODE -442 SQLSTATE 54023
Explanation: Maximum # of parameters on CALL exceeded. 说明:#调用参数上的最大突破。
SQL0443 SQLCODE -443 SQLSTATE 2Fxxx, 38501 SQL0443 SQLCODE -443 SQLSTATE 2Fxxx,38501
Explanation: Trigger program or external procedure detected on error. 说明:触发程序或外部程序上的错误检测。
SQL0444 SQLCODE -444 SQLSTATE 42724 SQL0444 SQLCODE -444 SQLSTATE 42724
Explanation: External program &4 in &1 not found. 说明:外部程序及4&1未找到。
SQL0446 SQLCODE -446 SQLSTATE 22003 SQL0446 SQLCODE -446 SQLSTATE 22003
Explanation: Conversion error in assignment of argument &2. 说明:转换的参数和2分配错误。
SQL0448 SQLCODE -448 SQLSTATE 54023 SQL0448 SQLCODE -448 SQLSTATE 54023
Explanation: Maximum parameters on DECLARE PROCEDURE exceeded. 说明:DECLARE程序上的最大参数超标。
SQL0449 SQLCODE -449 SQLSTATE 42878 SQL0449 SQLCODE -449 SQLSTATE 42878
Explanation: External program name for procedure &1 in &2 not valid. 说明:对程序及1和2没有有效的外部程序的名称。
SQL0451 SQLCODE -451 SQLSTATE 42815 SQL0451 SQLCODE -451 SQLSTATE 42815
Explanation: Attributes of parameter &1 not valid for procedure. 说明:参数及1不是有效的属性的过程。
SQL0452 SQLCODE -452 SQLSTATE 428A1 SQL0452 SQLCODE -452 SQLSTATE 428A1
Explanation: Unable to access a file that is referred to by a file reference variable. 说明:无法访问是指通过一个文件引用变量到文件。
SQL0453 SQLCODE -453 SQLSTATE 42880 SQL0453 SQLCODE -453 SQLSTATE 42880
Explanation: Return type for function &1 in &2 not compatible with CAST TO type. 说明:返回的功能及1型和2不符合强制转换为类型兼容。
SQL0454 SQLCODE -454 SQLSTATE 42723 SQL0454 SQLCODE -454 SQLSTATE 42723
Explanation: Function &1 in &2 with the same signature already exists. 说明:功能及在1和2具有相同签名已经存在。
SQL0455 SQLCODE -455 SQLSTATE 42882 SQL0455 SQLCODE -455 SQLSTATE 42882
Explanation: Specific name not same as procedure name. 说明:具体名字不作为程序的名字相同。
SQL0456 SQLCODE -456 SQLSTATE 42710 SQL0456 SQLCODE -456 SQLSTATE 42710
Explanation: Specific name &3 in &2 already exists. 说明:具体名称及在&2 3已经存在。