{"id":9323,"date":"2024-07-30T03:47:32","date_gmt":"2024-07-30T03:47:32","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=9323"},"modified":"2026-07-24T07:54:50","modified_gmt":"2026-07-24T07:54:50","slug":"batch-transfer-data-from-db2-tables-to-azure-sql-database-without-programming","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/db2tomssql\/batch-transfer-data-from-db2-tables-to-azure-sql-database-without-programming.html","title":{"rendered":"Batch transfer data from DB2 tables to SQL Server without programming"},"content":{"rendered":"<p>Want to batch transfer data from  <a href=\"http:\/\/www-03.ibm.com\/software\/products\/en\/db2enterprise-server-edition\">DB2<\/a>  tables to  <a href=\"https:\/\/www.microsoft.com\/en-us\/cloud-platform\/sql-server\">SQL Server<\/a> ?<\/p>\n<p>Using Withdata software <a href=\"https:\/\/www.withdata.com\/db-copier\/\">DBCopier<\/a>, a DB2 to SQL Server converter, you can transfer data from DB2  tables to SQL Server  in a batch, easily and fast.<\/p>\n<ul>\n<li>Can run in GUI mode, <a href=\"#transfer\">Step by Step<\/a>, just a few mouse clicks.<\/li>\n<li>Can run in <a href=\"#cmd\">Command line<\/a>, for <a href=\"#task\">Scheduled Tasks<\/a> and Streams.<\/li>\n<li>Supports Windows 10, 11, 2003, 2008, 2012, 2016, 2019, 2022.<\/li>\n<p>\t<!--\n\n<li>Can work without Microsoft Access installed.<\/li>\n\n-->\n<\/ul>\n<p><a href=\"https:\/\/www.withdata.com\/db-copier\/download.html\">Download DBCopier<\/a>  <a href=\"https:\/\/www.withdata.com\/db-copier\/download.html\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/download_3.jpg\" alt=\"Download DBCopier\" width=\"80\" height=\"22\" style=\"max-width:100%;height:auto;\" \/><\/a> <\/p>\n<h2 id=\"transfer\">Batch transfer data from DB2  tables to SQL Server  tables<\/h2>\n<p><a href=\"#login\">Login to DB2 and SQL Server<\/a> -> <a href=\"#source\">Select source DB2 tables<\/a> -> <a href=\"#target\">Set target SQL Server tables<\/a> -> <a href=\"#do\">Copy DB2 data to SQL Server<\/a><\/p>\n<p id=\"login\"> Choose source DB2 database and logon.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/choose_db2_logon.png\" alt=\"convert DB2  data to SQL Server data - Choose DB2 and logon\" width=\"430\" height=\"442\" style=\"max-width:100%;height:auto;display:block;\" \/><\/p>\n<p> Choose target SQL Server database and logon.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/choose_sql-server_logon.png\" alt=\"convert DB2  data to SQL Server data - Choose SQL Server and logon\" width=\"430\" height=\"442\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p> Click &#8220;Convert All Tables&#8221; at task dialog.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/dbtodb\/wizard_a_1.png\" ALT=\"Batch import data from DB2  tables to SQL Server  tables - Task Window\" width=\"636\" height=\"479\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p>then show the wizard.<\/p>\n<p id=\"source\">1. Select source DB2 tables.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/dbcopier\/wizard_batch_source_has-schema.png\" ALT=\"Batch convert data from DB2  tables to SQL Server  tables - Open Source schema\" width=\"722\" height=\"572\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p>2. List target SQL Server tables.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/dbcopier\/wizard_batch_target_has-schema.png\" ALT=\"Batch extract data from DB2  tables to SQL Server  tables - select destination schema\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p id=\"target\">3. Select SQL Server tables to import.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/dbcopier\/wizard_batch_map.png\" ALT=\"Batch import data from DB2  tables to SQL Server  tables - select tables\" width=\"722\" height=\"572\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<p id=\"do\">4. Transfer data from DB2  tables to SQL Server .<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/dbcopier\/wizard_batch_convert.png\" ALT=\"Batch copy data from DB2  tables to SQL Server  tables - batch import\" width=\"722\" height=\"572\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\"><\/p>\n<h2 id=\"cmd\">Batch transfer data from DB2 tables to SQL Server in command line<\/h2>\n<p><a href=\"https:\/\/www.withdata.com\/db-copier\/cmd.html\" target=\"_blank\">Save session, and then create .bat file for Windows command line, or .sh file for Linux \/ macOS.<\/a><\/p>\n<h2 id=\"task\">Set scheduled tasks for coping data from DB2 tables to SQL Server<\/h2>\n<p>You can schedule and automate this &#8220;DB2 to SQL Server&#8221; conversion task by: <\/p>\n<p><p><a href=\"https:\/\/withdata.com\/db-copier\/cmd.html\" target=\"_blank\">1) Save session and create .bat (Windows) or .sh (Linux\/macOS) file.<\/a><\/p>\n<p><a href=\"https:\/\/withdata.com\/dbtodb\/schedule-task.html\" target=\"_blank\">2) Set scheduled task.<\/a><\/p>\n<hr style=\"clear: both;\" \/>\n<p><a href=\"https:\/\/www.withdata.com\/db-copier\/\">More about DBCopier &#8211; DB2 to SQL Server Converter<\/a><\/p>\n<div style=\"clear: both;\">\n<p>Download DBCopier for 30-day free trial <a href=\"https:\/\/www.withdata.com\/db-copier\/download.html\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/btn_download_green.png\" alt=\"Download DBCopier\" width=\"165\" height=\"50\" style=\"max-width:100%;height:auto;\" loading=\"lazy\" decoding=\"async\" \/><\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Want to batch transfer data from DB2 tables to SQL Server ? Using Withdata software DBCopier, a DB2 to SQL Server converter, you can transfer data from DB2 tables to SQL Server in a batch, easily and fast. Can run in GUI mode, Step by Step, just a few mouse clicks. Can run in Command [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[186],"tags":[2417,2418,1318,2458],"class_list":["post-9323","post","type-post","status-publish","format-standard","hentry","category-db2tomssql","tag-azure","tag-azure-sql-database","tag-db2","tag-db2-to-azure-sql-database"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/9323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=9323"}],"version-history":[{"count":9,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/9323\/revisions"}],"predecessor-version":[{"id":21535,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/9323\/revisions\/21535"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=9323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=9323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=9323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}