Withdata Software

Schedule and automate PostgreSQL to DB2 task

Want to schedule and automate from PostgreSQL to DB2 copy data task?

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

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

Here you can download and install DB Copier.

Schedule and automate PostgreSQL to DB2 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 PostgreSQL data to DB2

30-day free trial

PostgreSQL → DB2 reference

Type mapping

Value kindin PostgreSQLin DB2
IntintegerINTEGER
BigintbigintBIGINT
Decimalnumeric(p,s)DECIMAL(p,s)
Floatdouble precisionDOUBLE
Textvarchar(n)VARCHAR(n)
Long texttextCLOB
DatedateDATE
DatetimetimestampTIMESTAMP
BinarybyteaBLOB
BooleanbooleanSMALLINT
JSONjsonbCLOB

Dialect differences

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

Propertyin PostgreSQLin DB2
port543250000
row limitLIMIT nFETCH FIRST n ROWS
datestimestamp, timestamptz, date, timeDATE, TIME, TIMESTAMP
long textTEXTCLOB
binaryBYTEABLOB

Command line

SideCommand
PostgreSQLpg_dump or COPY ... TO
DB2EXPORT TO out.csv OF DEL
DB2 (load)db2 IMPORT FROM file OF DEL
PostgreSQL (load)COPY ... FROM

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.