MS SQL to PostgreSQL

[FAQ]  [About Migration]  [Tutorial]  [Release Notes]  [Download]  [Buy]
Latest version 2.1 released 09/19/2016

MSSQL-to-PostgreSQL is a program to migrate Microsoft SQL databases to PostgreSQL server. The program has high performance due to direct connection to data source and destination databases (it does not use ODBC or any other middleware software). Command line support allows to script, automate and schedule the conversion process.

  • All versions of PostgreSQL starting from v9.0 are supported
  • All versions of Microsoft SQL are supported (including SQL Azure)
  • Fast conversion engine (about 20,000 records per second of average modern system)
  • Option to merge MS SQL data into an existing PostgreSQL database
  • Option to synchronize PostgreSQL database with MS SQL data
  • Option to convert individual tables
  • Option to filter data using SELECT-queries
  • Converts indexes with all necessary attributes
  • Option to customize field mapping (modify name, type, default values for every column) 
  • Converts foreign keys
  • Option to export into SQL script file 
  • Command line support
  • Quick Launch
  • Stores conversion settings into profile
  • Support for multibyte character sets
  • Easy-to-use wizard-style interface
  • Full install/uninstall support
  • Unlimited 24/7 support service
  • 1-year subscription for updates


  • Does not convert views, stored procedures and triggers
  • Demo version converts only 50 records per table
  • Demo version does not convert foreign keys

Download trial version of MS SQL to PostgreSQL converter


Quick Lauch

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 MSSQL to PostgreSQL wizard to launch conversion loading the necessary settings from the specified profile. Then you will be taken right to the screen with progress of conversion without entering all conversion settings.


MS SQL to PostgreSQL converter implements synchronization as combination of insert Microsoft SQL records that are missing in PostgreSQL table and update existing PostgreSQL records with MS SQL data. For synchronization purpose source and destination tables must have identical structures and have primary key or unique index defined. Assume both MS SQL and PostgreSQL databases have table "People" defined as below:

	FName VARCHAR(50),
	LName VARCHAR(50), 
	EMail VARCHAR(50), 
        Primary Key (ID)

This table has the following contents in MS SQL database:

2  Andrew  White
3  Phil  Johnson

In PostgreSQL database:

1  John  Smith
2  Andrew  White

After migrating data from MS SQL to PostgreSQL in "Synchronize" mode Microsoft SQL table is kept untouched and PostgreSQL table is modified as (pay attention to the cell marked red):

1  John  Smith
2  Andrew  White
3  Phil  Johnson

PostgreSQL script file

MSSQL to PostgreSQL converter allows users to migrate Microsoft SQL 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 five 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 MS SQL to PostgreSQL converter


Intelligent Converters software is distributed through downloading from our server only. For online credit card purchasing select the desired software package in the table below and click the corresponding ORDER NOW link. To learn about alternative payment options please visit our Ordering Page.


MSSQL to PostgreSQL (single user license)
Click here for more information about licensing
Two Products Bundle
order MSSQL to PostgreSQL + PostgreSQL to MSSQL, save $24.5
MS SQL Migration Toolkit
software pack to convert any data source to Microsoft SQL
and vice versa
PostgreSQL Migration Toolkit
software pack to convert any data source to PostgresSQL
and vice versa