Merge multiple similar PostgreSQL tables to 1 Oracle table

Want to transfer data from multiple similar PostgreSQL tables to 1 Oracle table?

Try Withdata DBCopier, a PostgreSQL to Oracle converter for Windows, Mac, and Linux, Copy PostgreSQL data to Oracle, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Transfer data from multiple similar PostgreSQL tables to a single Oracle table

Login to PostgreSQL and Oracle -> Select source PostgreSQL tables -> Set the target Oracle table -> Copy PostgreSQL data to Oracle

Choose source PostgreSQL database and logon.

convert PostgreSQL data to Oracle data - Choose PostgreSQL and logon

Choose target Oracle database and logon.

convert PostgreSQL data to Oracle data - Choose Oracle and logon

Click “Convert Similar Tables” at task dialog.

Import data from multiple similar PostgreSQL tables to 1 Oracle table - Task Window

then show the wizard.

1. Select similar PostgreSQL tables.

Convert data from multiple similar PostgreSQL tables to 1 Oracle table - open query results

2. Select a destination Oracle table and config fields.

Combine multiple similar PostgreSQL tables data to a single Oracle table - select table

3. Preview data.

Migrage data from multiple similar PostgreSQL tables to 1 Oracle table - preview

4. Import data from multiple similar PostgreSQL tables to a single Oracle table.

Merge multiple similar PostgreSQL tables to a single Oracle table - import


More about PostgreSQL to Oracle converter

See also:

PostgreSQL → Oracle reference

Type mapping

Value kindin PostgreSQLin Oracle
IntintegerNUMBER(10)
BigintbigintNUMBER(19)
Decimalnumeric(p,s)NUMBER(p,s)
Floatdouble precisionBINARY_DOUBLE
Textvarchar(n)VARCHAR2(n)
Long texttextCLOB
DatedateDATE
DatetimetimestampTIMESTAMP
BinarybyteaBLOB
BooleanbooleanNUMBER(1)
JSONjsonbCLOB

Dialect differences

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

Propertyin PostgreSQLin Oracle
port54321521
row limitLIMIT nFETCH FIRST n ROWS ONLY
datestimestamp, timestamptz, date, timeDATE, TIMESTAMP
long textTEXTCLOB, NCLOB
binaryBYTEABLOB, BFILE

Command line

SideCommand
PostgreSQLpg_dump or COPY ... TO
Oracleexp / expdp
Oracle (load)sqlldr (SQL*Loader)
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.


Posted

in

by