Want to upsert data from TSV file to DB2 ?
Upsert: inserts rows into a table if they do not already exist, or updates them if they do.
Try Withdata FileToDB, a desktop TSV to DB2 converter for Windows, MacOS, and Linux, Convert TSV to DB2, Easy and Fast.
- 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 and securely, avoid uploading large or private TSV file(s) to online services.
Upsert data from TSV file to DB2
Choose DB2 and logon.

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

Select the “TSV” file type.

then show the wizard.
1. Open a TSV file.

2. Select a table and config fields.
Set “Load Type” to “Upsert”, choice “By Key”.

3. Preview data.

4. Upsert TSV data to DB2.

View upserted data

Upsert TSV data to DB2 in command line
Save “TSV to DB2” session, then you can:
- Upsert TSV to DB2 in Windows command line.
- Upsert TSV to DB2 in Linux command line.
- Upsert TSV to DB2 in macOS command line.
Set scheduled tasks for upseting TSV data to DB2
You can schedule and automate this “TSV to DB2” conversion task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “TSV to DB2” conversion.
- Set scheduled task for “TSV to DB2” conversion.

