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建表解析错误-解析成PLSQL #2456

Open
ma0dan opened this issue Dec 14, 2023 · 2 comments
Open

Oracle建表解析错误-解析成PLSQL #2456

ma0dan opened this issue Dec 14, 2023 · 2 comments

Comments

@ma0dan
Copy link

ma0dan commented Dec 14, 2023

重现步骤

SQL上线提交oracle 建表语句中包含关键词begin,建表语句会被截断,解析成PLSQL

create table test {
    begin_xxx varchar(32) not null,
    user_name varchar(32) not null
}
企业微信截图_17025201932614

预期外的结果

建表语句检查是被截断成两部分,检查报错

日志文本

cx_Oracle.DatabaseError:ORA-00904: invalid identifier

版本

1.10.0

部署方式

手工部署

是否还有其他可以辅助定位问题的信息?比如数据库版本等

No response

@ma0dan
Copy link
Author

ma0dan commented Dec 14, 2023

@songtao12 空了帮忙修一下呀

@songtao12
Copy link
Contributor

@songtao12 空了帮忙修一下呀

好的,我看下

songtao12 added a commit to songtao12/Archery that referenced this issue Dec 15, 2023
修复问题:Oracle建表解析错误-解析成PLSQL hhyo#2456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants