-
Notifications
You must be signed in to change notification settings - Fork 860
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 自动分表,查询报错 #1098
Comments
相同的代码 pgsql 是正常的,oracle 生成的语句有问题。 |
确实,嵌套多层拼接有问题 |
2881099
added a commit
that referenced
this issue
May 12, 2022
v3.2.620 已发布 |
你玩把所有 freesql 相关 dll 都升级 |
都升级了 |
刚查看了下,是发布版本的问题,等会重新发布 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
freesql 版本3.2.610
生成如下语句,
SELECT t.* FROM (SELECT t.* FROM (SELECT * from (SELECT a."ID" as1, a."CREATED_BY" as2, a."CREATED_BY_NAME" as3,
a."CREATED_TIME" as4, a."REAL_NAME" as5, a."IP" as6, a."BROWSER" as7, a."OS" as8, a."DEVICE" as9,
a."BROWSERINFO" as10, a."ELAPSED_MILLISECONDS" as11, a."STATUS" as12, a."MESSAGE" as13, a."RESULT" as14
FROM "SYS_L_LOG_202204" a
ORDER BY a."ID" DESC) t WHERE ROWNUM < 21) ftb
UNION ALL
SELECT * from (SELECT a."ID" as1, a."CREATED_BY" as2, a."CREATED_BY_NAME" as3, a."CREATED_TIME" as4, a."REAL_NAME" as5, a."IP" as6, a."BROWSER" as7, a."OS" as8, a."DEVICE" as9, a."BROWSERINFO" as10, a."ELAPSED_MILLISECONDS" as11, a."STATUS" as12, a."MESSAGE" as13, a."RESULT" as14
FROM "SYS_L_LOG_202201" a
ORDER BY a."ID" DESC) t WHERE ROWNUM < 21) ftb
报如下错
The text was updated successfully, but these errors were encountered: