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 Mapper中Sql错误 #52

Open
4innocent opened this issue Aug 28, 2024 · 1 comment
Open

Oracle Mapper中Sql错误 #52

4innocent opened this issue Aug 28, 2024 · 1 comment

Comments

@4innocent
Copy link

在HistoryConfigInfoMapperOracle文件中有这样一段sql
DELETE FROM his_config_info WHERE ROWID in (SELECT ROWID FROM his_config_info WHERE gmt_modified < ? FETCH FIRST ? ROWS ONLY)

这段sql在oracle中执行不了啊,oracle不支持FETCH FIRST ? ROWS ONLY这种用法,给我整无语了。。。

@HelloSSM
Copy link

这个应该是你oracle的版本问题,我用的oracle 19c,这个版本是有这个语法的

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