gpt4 book ai didi

ibm-midrange - IBM DB2 for i 错误消息在错误中使用短列名

转载 作者:行者123 更新时间:2023-12-02 00:03:12 29 4
gpt4 key购买 nike

请注意,此问题特定于“IBM DB2 for i”,即 IBM i 操作系统的 version of DB2 .

下面的屏幕截图显示了一个故意错误的 INSERT 语句,它产生了 SQL0407 的 SQL 错误。

我的问题...是否有我可以更改的 DB2、JDBC 或其他设置,以便在错误中使用长列名而不是神秘的短列名?请注意,我在 INSERT 语句中使用了长列名。

insert with error

最佳答案

Carol Ramler,IBM 的 DB2 for i 高级软件工程师,回应如下:

In this situation it is the low level database manager code that is generating the error and it does not fill in the long column name due to historical and performance reasons.

鉴于她的头衔,我相信她是对的:-)

关于ibm-midrange - IBM DB2 for i 错误消息在错误中使用短列名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20076569/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com