SqlException:DB2 SQL 错误:SQLCODE:-302,SQLSTATE:22001,SQLERRMC:空 [英] SqlException: DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null

查看:83
本文介绍了SqlException:DB2 SQL 错误:SQLCODE:-302,SQLSTATE:22001,SQLERRMC:空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

sqlcode -302 是什么意思?我从哪里获得 sqlcode 定义?

What does sqlcode -302 means? Where do i get the sqlcode definitions?

请指教

谢谢,

推荐答案

您可以在 DB2 信息中心找到代码.这是>-302 来自 z/OS 信息中心:

You can find the codes in the DB2 Information Center. Here's a definition of the -302 from the z/OS Information Center:

输入变量或参数编号位置编号的值是目标列或目标值无效或太大

THE VALUE OF INPUT VARIABLE OR PARAMETER NUMBER position-number IS INVALID OR TOO LARGE FOR THE TARGET COLUMN OR THE TARGET VALUE

在 Linux/Unix/Windows DB2 上,您将查看 SQL 消息 以查找您的错误消息.如果代码为正,则查找 SQLxxxxW,如果为负,则查找 SQLxxxxN,其中 xxxx 是您要查找的代码.

On Linux/Unix/Windows DB2, you'll look under SQL Messages to find your error message. If the code is positive, you'll look for SQLxxxxW, if it's negative, you'll look for SQLxxxxN, where xxxx is the code you're looking up.

这篇关于SqlException:DB2 SQL 错误:SQLCODE:-302,SQLSTATE:22001,SQLERRMC:空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆