Batch import data from multiple SQL files to a single PostgreSQL table

by

Want to batch import data from SQL files to PostgreSQL ?

Try Withdata FileToDB, a SQL file to PostgreSQL converter for Windows, MacOS, and Linux, Easy and Fast, Even other type database SQL.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert files locally and securely, avoid uploading large or private SQL file(s) to online services.
  • Support standard SQL files, and SQL files of database types: Access, DB2, DBF, MySQL, Oracle, PostgreSQL, SQLite, SQL Server, etc.

Download Withdata FileToDB Download FileToDB

Batch import data from SQL files to PostgreSQL

Choose PostgreSQL and logon.

convert SQL file to PostgreSQL table - Choose PostgreSQL and logon

Click “Wizard – N Files To 1 Table” at task dialog.

convert SQL file to PostgreSQL table - task window

Select the “SQL” file type.

Import file data to PostgreSQL table - select file type

then show the wizard.

1. Select a folder that constains SQL files.

Batch import SQL files data To PostgreSQL - select a folder

2. Config first SQL file importing options.

Batch import SQL files data To PostgreSQL - config first file

3. Select a PostgreSQL table and config fields.

Bulk load SQL files data To PostgreSQL - select table

4. Preview data.

Batch transfer SQL files data To PostgreSQL - preview

5. Import SQL files to the PostgreSQL table.

Batch copy SQL files data To PostgreSQL - import data

View imported data

Batch copy SQL files data To PostgreSQL - view data

Batch import data from SQL files to PostgreSQL in command line

Save “SQL to PostgreSQL” session, then you can:

Set scheduled tasks for bulk importing SQL to PostgreSQL

You can schedule and automate this “SQL to PostgreSQL” conversion task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “SQL to PostgreSQL” conversion.
  2. Set scheduled task for “SQL to PostgreSQL” conversion.

More about Withdata FileToDBSQL to PostgreSQL converter

See also: