Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ORACLE] 子查询内部默认添加分页语句,导致in函数无法实现,提示Error Msg = ORA-00913: 值过多的报错 #683

Closed
ostrichManX opened this issue Feb 6, 2024 · 2 comments

Comments

@ostrichManX
Copy link
Contributor

ostrichManX commented Feb 6, 2024

Description

apijson写法:

"[]": {
    "count":3,
    'T_EVENT_MAIN': {
        "@schema": "ZHSQ",
        "EVENT_ID{}@": {
            "from": "WF_HI_TASK",
            "WF_HI_TASK": {
                "@schema": "CDA_FLOW",
                "@column": "BUSINESS_KEY",
            }
        },
    },
},

这是根据官网的模板去掉多余参数,写的子查询apijson语句,mysql的查询语句只有简单的子查询语句,但是oracle的查询语句也会强制加上分页语句,这样就会导致id无法获取到子查询内部对应的字段,进而报错,无法使用。
mysql问题

oracle问题

我想问一下,这个怎么处理,是否存在开关或者配置,关闭子查询中的默认分页操作?

@ostrichManX ostrichManX changed the title [ORACLE] [ORACLE] 子查询内部默认分页,导致提示Error Msg = ORA-00913: 值过多的报错 Feb 6, 2024
@ostrichManX ostrichManX changed the title [ORACLE] 子查询内部默认分页,导致提示Error Msg = ORA-00913: 值过多的报错 [ORACLE] 子查询内部默认添加分页语句,导致in函数无法实现,提示Error Msg = ORA-00913: 值过多的报错 Feb 6, 2024
@TommyLemon
Copy link
Collaborator

@ostrichManX
Copy link
Contributor Author

问题解决,代码已提交
#684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants