SQLines SQL Converter is an open source tool (Apache License 2.0) that allows you to convert database schema (DDL), queries and DML statements, views, stored procedures, packages, functions and triggers between Microsoft SQL Server, Oracle, MariaDB, MySQL, PostgreSQL, IBM DB2, Sybase, Informix, Teradata, Greenplum and Netezza.
You can also try it online at http://www.sqlines.com/online
The first step is to build SQLParser:
cd sqlparser
./build_all64.sh
For technical support and custom development, please contact us at support@sqlines.com