From:       To:      

SQL Server to PostgreSQL

[FAQ]  [About Migration]  [Tutorial]  [Release Notes]  [Download]  [Buy]
Latest version 6.5 released 12/18/2023

SQL Server to PostgreSQL converter is a program to migrate databases from SQL Server and Azure SQL to PostgreSQL on-premises or cloud DBMS. The program has high performance due to low-level algorithms of reading and writing data: more than 10 MB per second on an average modern system. Command line support allows to automate the migration process.

Features
  • Tables, data, indexes, constraints, sequences and views are migrated
  • Spatial data is migrated
  • All versions of PostgreSQL (starting from v9.0) and SQL Server are supported
  • SSL connection for PostgreSQL is supported 
  • Verified support for Heroku and Azure
  • ODBC or any other middleware is not required
  • Fast conversion engine (2MB+/sec on a modern hardware platform)
  • Existing PostgreSQL database can be overwritten, merged or synchronized with SQL Server data
  • Option to filter data using SELECT-queries
  • Option to customize field mapping (modify name, type, default values for every column)
  • Option to export into PostgreSQL script file
  • Quick Launch
  • Stores conversion settings into profile
  • Support for Unicode
  • The product can be customized according to customer requirements
    
SQL Server to PostgreSQL: Select Migration Mode SQL Server to PostgreSQL: Connect to PostgreSQL
SQL Server to PostgreSQL: Migration Settings SQL Server to PostgreSQL: Select Views
Video Demonstration

Limitations

Download trial version of SQL Server to PostgreSQL converter

Requirements

Quick Launch

Once you stored conversion settings into profile you can run the program in Quick Launch mode. Just launch Windows Explorer and double-click on the profile description (.m2p) file with left mouse button. This will cause SQL Server to PostgreSQL database converter to load the necessary settings from the specified profile. Then you will be taken right to the screen with progress indication without entering all conversion settings.

Synchronization

SQL Server to PostgreSQL database converter implements synchronization as combination of insert Microsoft SQL records that are missing in PostgreSQL table and update existing PostgreSQL records with SQL Server data. Source and destination tables must have identical structures and have primary key or unique index defined.

If you need more options to configure the synchronization or want to reduce duration of the process via "incremental" technique, take a look at MSSQL-PostgreSQL Sync, special product to synchronize SQL Server and PostgreSQL databases.

Customize table structure

This feature can be accessed by double click on the corresponding table name in "Selected tables" list of "Step 4 of 5" wizard page.

This will cause the following dialog box to appear:

SQL Server to PostgreSQL: Edit Table

To customize type mapping select the appropriate item in the listview on the left and specify new name, type and default value for the field using "Field info" group of controls. Please note that listview on the left contains column attributes of the original types mapping, new custom types and attributes will be displayed in "Field info" controls when the corresponding item is highlighted in the listview.

Views

SQL Server to PostgreSQL converter handles about 90% of syntax constructions involved into SQL Server "CREATE VIEW" statements. Some of the conversion rules are described into this whitepaper.

PostgreSQL script file

SQL Server to PostgreSQL database converter allows to migrate SQL Server database into PostgreSQL format even when there is no connection to PostgreSQL server available for some reason. Following this way, the program converts SQL Server data into a local PostgreSQL script file instead of migrating it to PostgreSQL server directly. The resulting file contains PostgreSQL statements to create all tables and to fill them with the data. Click here to learn how to import dump file into PostgreSQL database.

Try before you buy

Still not sure the program fits your needs? Try free demo version with limited features. It will allow you to convert only 50 records for each database table, it does NOT convert queries/views and foreign keys. Test the quality of the demo and come back to place an order if satisfied with the results.

Download trial version of SQL Server to PostgreSQL converter

Ordering

For online credit card purchasing select the desired software package in the table below and click the corresponding BUY NOW link. SQL Server to PostgreSQL converter is covered by 30 day money-back guarantee.

SQL Server to PostgreSQL
single user license
 $59  BUY NOW
SQL Server to PostgreSQL
corporate license
 $149  BUY NOW
MSSQL-PostgreSQL Sync
bi-directional incremental sync between SQL Server and PostgreSQL
 $59  BUY NOW
MSSQL-to-PostgreSQL Code Converter  $79  BUY NOW