Transpile Any SQL to PostgreSQL Dialect

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • From the "Roadmap" section of the README:

    > more source dialects : mysql, mssql, sybase, etc.

    https://gitlab.com/dalibo/transqlate#roadmap

  • libpg_query

    C library for accessing the PostgreSQL parser outside of the server environment

  • This in combination with [pg_query](https://github.com/pganalyze/libpg_query) could be a very powerful combination that allows writing generic static analyzers.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • prql

    PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

  • babelfish_extensions

    Babelfish for PostgreSQL provides the capability for PostgreSQL to work with applications written for Microsoft SQL Server. Babelfish understands the SQL Server wire-protocol and T-SQL, the Microsoft SQL Server query and procedural language, so you don’t have to switch database drivers or rewrite all of your application queries.

  • [2] https://github.com/babelfish-for-postgresql/babelfish_extens...

  • [2] https://github.com/babelfish-for-postgresql/babelfish_extens...

  • sqlglot

    Python SQL Parser and Transpiler

  • Recommend checking out https://github.com/tobymao/sqlglot if you are interested in this capability for other SQL dialects

    Tools like this are helpful for:

    - Rendering SQL in a consistent way, eg for snapshot testing

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts