Bulk import data from SQL files to PostgreSQL tables at one time

by

Want to bulk import SQL files into PostgreSQL tables at one time?

Using Withdata software FileToDB, a SQL to PostgreSQL converter for PostgreSQL, you can bulk import SQL files into PostgreSQL tables in one go.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert locally, Avoid uploading LARGE SQL file(s) to online services.
  • Support Windows, Linux, macOS.

Download FileToDB Download FileToDB

Bulk import SQL files into PostgreSQL tables

Login to PostgreSQL -> Choose SQL files -> Set PostgreSQL tables -> Import SQL files to PostgreSQL tables

Choose PostgreSQL and logon.

bulk import SQL files into PostgreSQL  tables - Choose PostgreSQL and logon

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

bulk import SQL files into PostgreSQL  tables - task window

Select the “SQL” file type.

bulk load SQL files into PostgreSQL  tables - select file type

then show the wizard.

1. Select a folder that constains SQL files.

bulk import SQL files into PostgreSQL  tables - select a folder

2. Config first SQL file importing options.

bulk import SQL files into PostgreSQL  tables - config first file

3. Set “Import Type”.

bulk import SQL files into PostgreSQL  tables - set tables

4. Map PostgreSQL tables to SQL files.

bulk import SQL files into PostgreSQL  tables - map

5. Summary. Set “Convert Rows” and “Skip Rows” if need.

bulk import SQL files into PostgreSQL  tables - preview

6. Import SQL files to PostgreSQL tables, 1 file to 1 table, one by one.

bulk import SQL files into PostgreSQL  tables - import data

View imported data in PostgreSQL table

bulk import SQL files into PostgreSQL  tables - view data

Bulk import SQL files into PostgreSQL tables in command line

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

Set scheduled tasks for bulk importing SQL files into PostgreSQL tables

You can schedule and automate this converting task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS)

2) Set scheduled task.


More about FileToDB – SQL to PostgreSQL converter

30-day free trial Download FileToDB