Withdata Software

How To Export DB2 Query Results To Access

First, you need and install DB2ToAccess.

DB2ToAccess is a software that export DB2 query results to Access.

Export DB2 Query Results To Access – 4 Steps

Click Import – Import From Query button.

1. Show “Import Form Query” Form, input query, click “Get Fields” button.

2. Config target table and “Save Type”.

3. Config Fields.

4. Click Import button, Show export progress.


More about DB2ToAccess – the tool to export DB2 query to Access.

30-day free trial US$79.00

DB2 → Access reference

Type mapping

Value kindin DB2in Access
IntINTEGERLong Integer
BigintBIGINTLong Integer
DecimalDECIMAL(p,s)Decimal
FloatDOUBLEDouble
TextVARCHAR(n)Text(n)
Long textCLOBLong Text
DateDATEDate/Time
DatetimeTIMESTAMPDate/Time
BinaryBLOBOLE Object
BooleanSMALLINTYes/No

Dialect differences

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

Propertyin DB2in Access
port50000(file-based)
identifiers"double quotes"[square brackets]
row limitFETCH FIRST n ROWSSELECT TOP n
datesDATE, TIME, TIMESTAMPDate/Time
long textCLOBMEMO
binaryBLOBOLE Object

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.