[英]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.