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

sqltranslate 无法正确翻译 LEFT(STR, N) 函数 #40

Open
Smartbicaopan opened this issue Apr 24, 2023 · 1 comment
Open

sqltranslate 无法正确翻译 LEFT(STR, N) 函数 #40

Smartbicaopan opened this issue Apr 24, 2023 · 1 comment

Comments

@Smartbicaopan
Copy link

    String oracle_sql = SQLUtil.translate("LEFT(str,1)", "ORACLE");
    System.out.println("oracle_sql:"+oracle_sql);
    输出:oracle_sql:LEFT(str,1)

    推测是因为LEFT既是关键字,又是函数名
    但RIGHT函数是关键字,但运行RIGHT函数是正确的
@RQWangXiaoJun
Copy link
Contributor

已修改,请重新获取下开源代码。

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