From:       To:      

PostgreSQL to MS SQL

[About Migration]  [Tutorial]  [Release Notes]  [Download]  [Buy]
Latest version 3.1 released 07/26/2021

PostgreSQL-to-MSSQL is a program to migrate PostgreSQL databases to Microsoft SQL server or Azure SQL. The program has high performance: 2,5 GB PostgreSQL database is migrated to SQL Server within less than 20 minutes on an average modern system. Command line support allows to script, automate and schedule the conversion process.


  • Tables, data, indexes, constraints, sequences and views are converted
  • All versions of PostgreSQL and Microsoft SQL are supported (including Azure SQL)
  • Verified support for Heroku
  • Existing MS SQL database can be overwritten, merged or synchronized with PostgreSQL data
  • Option to customize field mapping (modify name, type, default values for every column)
  • Option to filter data using SELECT-queries
  • Command line support
  • Option to export PostgreSQL database into T-SQL script file
  • Stores conversion settings into profile
  • Support for multibyte character sets
  • Quick Launch
  • Easy-to-use wizard-style interface
  • Full install/uninstall support
  • Unlimited 24/7 support service
  • 1-year subscription for updates


  • Does not convert stored procedures and triggers (our specialists can convert these objects manually as Database Migration Service)
  • Demo version converts only 50 records per table
  • Demo version does not convert foreign keys and views


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 (.p2m) file with left mouse button. This will cause PostgreSQL-to-MSSQL 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.


PostgreSQL to MS SQL converter implements synchronization as combination of insert PostgreSQL records that are missing in MS SQL table and update existing Microsoft SQL records with PostgreSQL data. For synchronization purpose 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 MS SQL and PostgreSQL databases.

Export into T-SQL script file

Sometimes, there is no direct access to MS SQL server. For such situations PostgreSQL to MS SQL converter provides option of exporting the source database into local T-SQL script file. The resulting file will contain SQL statements to create all tables, indexes and constraints and to fill tables with the data. Then database administrator will be able to import the script file to the target server. This article explains how to import T-SQL script file to MS SQL server.

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 PostgreSQL to SQL Server


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.

single user license
MSSQL-PostgreSQL Sync
bi-directional incremental sync between MS SQL and PostgreSQL
MSSQL Migration Toolkit
software pack to convert any data source to MS SQL and vice versa
PostgreSQL Migration Toolkit
software pack to convert any data source to PostgreSQL and vice versa