Giter VIP home page Giter VIP logo

Comments (9)

Functor10 avatar Functor10 commented on May 26, 2024

请问使用的oracle版本是?

from quicksql.

pangPython avatar pangPython commented on May 26, 2024

按照README中的操作说明,把mysql 、oracle表元数据导入到qsql中,oracle表执行了
'SELECT * FROM USER LIMIT 1'
'SELECT * FROM USER LIMIT 10 OFFSET 10'
'SELECT * FROM USER OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY '
均报错ORA-00933 SQL 命令未正确结束
由于在公司内网测试,网络限制,异常堆栈不能提供,抱歉。
使用的是
https://github.com/Qihoo360/Quicksql/releases/tag/release-0.6
oracle jdk 1.8.0_151

from quicksql.

pangPython avatar pangPython commented on May 26, 2024

请问使用的oracle版本是?

11.2.0.1.0

from quicksql.

Functor10 avatar Functor10 commented on May 26, 2024

感谢反馈,由于Oracle不同版本分页查询的语法不太一样,所以还未确定最终的方言转换方式。这个问题会在下一个迭代中优先进行解决。再次表示感谢~

from quicksql.

pangPython avatar pangPython commented on May 26, 2024

感谢反馈,由于Oracle不同版本分页查询的语法不太一样,所以还未确定最终的方言转换方式。这个问题会在下一个迭代中优先进行解决。再次表示感谢~

你好,请问qsql推荐的oracle版本是多少?

from quicksql.

Functor10 avatar Functor10 commented on May 26, 2024

理论上希望用户接入的Oracle版本都>= 12c,这样所有的分页查询都是OFFSET ROWS FETCH ROW,可以由统一的QSQL语法LIMIT OFFSET转换过去,但这样对于已有的老版本兼容不好,老版本的WHERE ROWNUM目前的使用范围也很广。如果不介意的话我将ISSUE名字改为英文,作为下一个迭代的需求。

from quicksql.

pangPython avatar pangPython commented on May 26, 2024

理论上希望用户接入的Oracle版本都>= 12c,这样所有的分页查询都是OFFSET ROWS FETCH ROW,可以由统一的QSQL语法LIMIT OFFSET转换过去,但这样对于已有的老版本兼容不好,老版本的WHERE ROWNUM目前的使用范围也很广。如果不介意的话我将ISSUE名字改为英文,作为下一个迭代的需求。

好的 ,感谢您耐心的答复,谢谢

from quicksql.

Functor10 avatar Functor10 commented on May 26, 2024

Oracle分页语法已兼容

from quicksql.

missence avatar missence commented on May 26, 2024

我使用的是0.7.0,oracle还是有类似的问题,java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended

from quicksql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.