Microsoft T-SQL to Oracle SQL translation

后端 未结 12 1282
醉酒成梦
醉酒成梦 2020-12-01 05:28

I\'ve worked with T-SQL for years but I\'ve just moved to an organisation that is going to require writing some Oracle stuff, probably just simple CRUD operations at least u

12条回答
  •  爱一瞬间的悲伤
    2020-12-01 06:05

    jOOQ has a publicly available, free translator, which can be accessed from the website here: https://www.jooq.org/translate

    It supports DML, DDL, and a few procedural syntax elements. If you want to run the translation locally via command line, a license can be purchased and the command line works as follows:

    $ java -cp jooq-3.11.9.jar org.jooq.ParserCLI -t ORACLE -s "SELECT substring('abcde', 2, 3)"
    select substr('abcde', 2, 3) from dual;
    

    See: https://www.jooq.org/doc/latest/manual/sql-building/sql-parser/sql-parser-cli

    (Disclaimer, I work for the vendor)

提交回复
热议问题