Schedule and automate MySQL to DB2 task

Want to schedule and automate from MySQL to DB2 copy data task?

Try Withdata DB Copier, a desktop tool, you can scheduled MySQL to DB2 copy data task easily, just a few mouse clicks!

Let computer automate repetitive MySQL to DB2 transfer data busy work, DB Copier make our life easier!

Here you can download and install DB Copier.

Schedule and automate MySQL to DB2 data task

1. Select and run a task from follow list:

2. Save session and create .bat file.

3. Set scheduled task.


More about Withdata DBCopier – the tool to copy MySQL data to DB2

30-day free trial Download DBCopier

MySQL → DB2 reference

Type mapping

Value kindin MySQLin DB2
IntINTINTEGER
Long textLONGTEXTCLOB
DatetimeDATETIMETIMESTAMP
BinaryLONGBLOBBLOB
BooleanTINYINT(1)SMALLINT
JSONJSONCLOB

Dialect differences

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

Propertyin MySQLin DB2
port330650000
identifiers`backtick`"double quotes"
row limitLIMIT nFETCH FIRST n ROWS
datesDATETIME, TIMESTAMP, DATE, TIMEDATE, TIME, TIMESTAMP
long textTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXTCLOB
binaryBLOB / TINYBLOB / LONGBLOBBLOB

Command line

SideCommand
MySQLmysqldump, or mysql -e "SELECT ..." > out.csv
DB2EXPORT TO out.csv OF DEL
DB2 (load)db2 IMPORT FROM file OF DEL
MySQL (load)mysqlimport, or LOAD DATA INFILE

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