简体   繁体   English

SQL DB2 中的一个不清楚的错误(DB2 SQL 错误:SQLCODE=-302,SQLSTATE=22001,SQLERMCnull)

[英]An unclear error in SQL DB2 (DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null)

I am using SQL on DB2 and I am receiving this error我在 DB2 上使用 SQL 并且收到此错误

Exception message:
A SQL exception was caught. The error was: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=4.19.49.

I understand the nature of the error, but I don't understand the SQLERRMC parameter.我了解错误的性质,但我不了解 SQLERRMC 参数。 The official documentation doesn't helps so much.官方文档并没有太大帮助。 Can you explain what this mean?你能解释一下这是什么意思吗?

The problem, in my case, was that the field was too long for the destination.就我而言,问题是该字段对于目的地来说太长了。 Thus, probably the field SQLERRMC had no reason to exist.因此,SQLERRMC 字段可能没有理由存在。

This is the best answer I've found for now, still unsure regarding the general meaning of the field.这是我目前找到的最佳答案,但仍不确定该领域的一般含义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 DB2 jdbc SQL 错误:SQLCODE=-302,SQLSTATE=22001 on Select - DB2 jdbc SQL Error: SQLCODE=-302, SQLSTATE=22001 on Select DB2 SQL错误:SQLCODE = -117,SQLSTATE = 42802,SQLERRMC = null,DRIVER = 3.68.61 - DB2 SQL Error: SQLCODE=-117, SQLSTATE=42802, SQLERRMC=null, DRIVER=3.68.61 DB2 SQL错误:SQLCODE = -901,SQLSTATE = 58004,SQLERRMC =无效的归类ID,DRIVER = 4.21.29 - DB2 SQL Error: SQLCODE=-901, SQLSTATE=58004, SQLERRMC=Invalid collation ID, DRIVER=4.21.29 错误信息 DB2 SQL 错误:SQLCODE=-204, SQLSTATE=42704, SQLERRMC=MCX28303.BANKACCOUNTS, DRIVER=4.26.14 - Error message DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=MCX28303.BANKACCOUNTS, DRIVER=4.26.14 DB2 SQL 错误 sqlcode=-104 sqlstate=42601 - DB2 SQL error sqlcode=-104 sqlstate=42601 DB2错误SQLCODE = -103,SQLSTATE = 42604 - DB2 Error SQLCODE=-103, SQLSTATE=42604 db2 中的更新表失败,SQLCODE:-668,SQLSTATE:57016,SQLERRMC:7; - Failing update table in db2 with SQLCODE: -668, SQLSTATE: 57016, SQLERRMC: 7; 来自Tibco BW的DB2 SQL错误:SQLCODE = -952,> SQLSTATE = 57014 - DB2 SQL Error: SQLCODE=-952, > SQLSTATE=57014, from Tibco BW 插入并选择Select Give sql-error(SQLCODE = -803,SQLSTATE = 23505)(db2 z / os) - Insert with Select give sql-error (SQLCODE=-803, SQLSTATE=23505)(db2 z/os) DB2 SQL - SQLCODE问题 - DB2 SQL - Issue with SQLCODE
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM