Migrate SQL Server to PostgreSQL

Proprietary

Converts Microsoft SQL Server-specific SQL syntax and functions to PostgreSQL equivalents.

org.openrewrite.sql.MigrateSqlServerToPostgres
mod run . --recipe=org.openrewrite.sql.MigrateSqlServerToPostgres

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Convert SQL Server functions to PostgreSQL
  2. Convert SQL Server data types to PostgreSQL
  3. Convert TOP to LIMIT
  4. Format SQL in string text blocks