Bulk/Batch Import Data From Access To DB2

Want to bulk import data from Access to DB2 ?

Using DBCopier, a native GUI software, a Access to DB2 converter, you can bulk import data from Access to DB2 easily and fast.

  • Step by step, just a few mouse clicks.
  • Support schedule and automate db importing.
  • Supports Windows 10, 11, 2003, 2008, 2012, 2016, 2019, 2022.
  • Can work without Microsoft Access installed.

Download DBCopier Download DBCopier

Here’s how to.

Bulk import data from Access to DB2

Choose source Access database and logon.

Bulk import data from Access  to DB2 - Choose Access and logon

Choose target DB2 database and logon.

Bulk import data from Access  to DB2 - Choose DB2 and logon

Click “Wizard – Import All Tables” at task dialog.

Bulk import data from Access  to DB2  - Task Window

then show the wizard.

1. Open source Access .

Bulk import data from Access  to DB2  - Open source database

2. List target DB2 tables.

Bulk import data from Access  to DB2  - list target tables

3. Select DB2 tables to import.

Bulk import data from Access  to DB2  - select tables

4. Bulk import data from Access to DB2.

Bulk import data from Access  to DB2  - import

Download DBCopier Download DBCopier

Save/load session of importing Access to DB2

You can save/load session to run “Access to DB2” importing repeatly.

1.Save Session.

Click “Save Session” button, then enter a session file name.

Bulk import data from Access to DB2 - save session

click “OK” button.

2.Load Session.

Click the “Open Saved Session” in task window, select a session file.

Bulk import data from Access to DB2 - load session

then show the wizard form, click a few “Next” to bulk import Access to DB2.

Bulk import data from Access to DB2 - start session

Download DBCopier Download DBCopier

Run in command line for importing Access to DB2

You can run “Access to DB2” importing in command line.

When you save session, you can click “Save & Make Batch File”.

Bulk import data from Access to DB2 - save session

The “Save & Make Batch File” form shows.

Bulk import data from Access to DB2 - create batch file

Click “OK” button, you’ll create a batch file, in Windows, like this:

C:
cd "C:\Users\pansh\AppData\Local\Programs\DBCopier"
DBCopier task="C:\Users\pansh\Documents\test.ula" logfile="C:\Users\pansh\Documents\test.log"

You can run this batch file in command line.

Download DBCopier Download DBCopier

Run as scheduled task for importing Access to DB2

You can run “Access to DB2” importing automatically at specific time.

On Linux/macOS, you can use Crontab.

For macOS, How to Fix Cron Permission Issues in macOS.

On Windows, in “Save & Make Batch File” form, you can click “Create & Schedule Task” to set a scheduled task.

Bulk import data from Access to DB2 - create batch file

And then, with scheduled task wizard, step by step.

Bulk import data from Access to DB2 - scheduled task application

You’ll see created task listed in scheduled task list.

Bulk import data from Access to DB2 - scheduled task list

Download

Here you can download DBCopier, and buy DBCopier.

30-day free trial Download DBCopier

Access → DB2 reference

Type mapping

Value kindin Accessin DB2
IntLong IntegerINTEGER
BigintLong IntegerBIGINT
DecimalDecimalDECIMAL(p,s)
FloatDoubleDOUBLE
TextText(n)VARCHAR(n)
Long textLong TextCLOB
DateDate/TimeDATE
DatetimeDate/TimeTIMESTAMP
BinaryOLE ObjectBLOB
BooleanYes/NoSMALLINT

Dialect differences

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

Propertyin Accessin DB2
port(file-based)50000
identifiers[square brackets]"double quotes"
row limitSELECT TOP nFETCH FIRST n ROWS
datesDate/TimeDATE, TIME, TIMESTAMP
long textMEMOCLOB
binaryOLE ObjectBLOB

Command line

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

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