Withdata Software

Schedule and automate SQL Server to PostgreSQL task

Want to schedule and automate from SQL Server to PostgreSQL copy data task?

Try Withdata DB Copier, a desktop tool, you can scheduled SQL Server to PostgreSQL copy data task easily, just a few mouse clicks!

Let computer automate repetitive SQL Server to PostgreSQL transfer data busy work, DB Copier make our life easier!

Here you can download and install DB Copier.

Schedule and automate SQL Server to PostgreSQL data task

1. Select and run a task from follow list:

2. Save session and create .bat file.

3. Set scheduled task.


More about Withdata DBCopier – the tool to copy SQL Server data to PostgreSQL

30-day free trial

SQL Server → PostgreSQL reference

Type mapping

Value kindin SQL Serverin PostgreSQL
Intintinteger
Decimaldecimal(p,s)numeric(p,s)
Floatfloatdouble precision
Textnvarchar(n)varchar(n)
Long textnvarchar(max)text
Datetimedatetime2timestamp
Binaryvarbinary(max)bytea
Booleanbitboolean
JSONnvarchar(max)jsonb

Dialect differences

Both SQL Server and PostgreSQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin SQL Serverin PostgreSQL
port14335432
identifiers[square brackets]"double quotes"
row limitSELECT TOP nLIMIT n
datesdatetime, datetime2, date, timetimestamp, timestamptz, date, time
long textnvarchar(max)TEXT
binaryvarbinary(max)BYTEA

Command line

SideCommand
SQL Serverbcp
PostgreSQLpg_dump or COPY ... TO
PostgreSQL (load)COPY ... FROM
SQL Server (load)bcp, or BULK INSERT

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.