Schedule and automate SQL Server to DB2 task

Want to schedule and automate from SQL Server to DB2 copy data task?

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

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

Here you can download and install DB Copier.

Schedule and automate SQL Server 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 SQL Server data to DB2

30-day free trial Download DBCopier

SQL Server → DB2 reference

Type mapping

Value kindin SQL Serverin DB2
IntintINTEGER
BigintbigintBIGINT
Decimaldecimal(p,s)DECIMAL(p,s)
FloatfloatDOUBLE
Textnvarchar(n)VARCHAR(n)
Long textnvarchar(max)CLOB
DatedateDATE
Datetimedatetime2TIMESTAMP
Binaryvarbinary(max)BLOB
BooleanbitSMALLINT

Dialect differences

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

Propertyin SQL Serverin DB2
port143350000
identifiers[square brackets]"double quotes"
row limitSELECT TOP nFETCH FIRST n ROWS
datesdatetime, datetime2, date, timeDATE, TIME, TIMESTAMP
long textnvarchar(max)CLOB
binaryvarbinary(max)BLOB

Command line

SideCommand
SQL Serverbcp
DB2EXPORT TO out.csv OF DEL
DB2 (load)db2 IMPORT FROM file OF DEL
SQL Server (load)bcp, or BULK INSERT

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