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

语法解析,DB2 不支持 SELECT INTO #2487

Closed
IRoye opened this issue Apr 13, 2018 · 1 comment
Closed

语法解析,DB2 不支持 SELECT INTO #2487

IRoye opened this issue Apr 13, 2018 · 1 comment
Labels
Milestone

Comments

@IRoye
Copy link

IRoye commented Apr 13, 2018

版本1.1.9
如下语句解析出错
SQLUtils.parseStatements("SELECT * INTO Persons_backup FROM Persons", JdbcConstants.DB2);
异常
Exception in thread "main" com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'CT * INTO Persons_backup FROM Perso', expect INTO, actual INTO pos 13, line 1, column 9, token INTO at com.alibaba.druid.sql.parser.SQLParser.printError(SQLParser.java:284) at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:423) at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:72) at com.alibaba.druid.sql.SQLUtils.parseStatements(SQLUtils.java:464)

@wenshao wenshao added the Bug label Apr 15, 2018
@wenshao wenshao added this to the 1.1.10 milestone Apr 15, 2018
wenshao added a commit that referenced this issue Apr 15, 2018
@wenshao
Copy link
Member

wenshao commented May 27, 2018

https://github.com/alibaba/druid/releases/tag/1.1.10
问题修复,请用新版本

@wenshao wenshao closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants