We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用SQLParserUtils.splitAndRemoveComment(sql, DbType.sqlserver) 拆分Merge sql会去除最后的分号
SQLParserUtils.splitAndRemoveComment(sql, DbType.sqlserver)
"merge xx select xx ;;";
导致运行的时候报错
com,microsoft,sglserver.idbc,soLSserverException;MERGE 语句必须以分号(;)结尾。
The text was updated successfully, but these errors were encountered:
splitAndRemoveComment没有走完整的语法树解析逻辑,现在没维护这个了,不要使用它 自己解析得到 statment列表,然后再转字符串吧。
Sorry, something went wrong.
No branches or pull requests
使用
SQLParserUtils.splitAndRemoveComment(sql, DbType.sqlserver)
拆分Merge sql会去除最后的分号导致运行的时候报错
The text was updated successfully, but these errors were encountered: