{"id":40,"date":"2011-09-01T21:59:37","date_gmt":"2011-09-01T21:59:37","guid":{"rendered":"http:\/\/www.sqlfreelancer.com\/blog\/?p=40"},"modified":"2014-03-01T02:09:09","modified_gmt":"2014-03-01T02:09:09","slug":"import-data-from-microsoft-access-to-sql-server","status":"publish","type":"post","link":"https:\/\/www.sqlfreelancer.com\/blog\/import-data-from-microsoft-access-to-sql-server\/","title":{"rendered":"Import data from Microsoft Access to SQL Server"},"content":{"rendered":"<p>Microsoft has made importing data from Access much easier using Access 2007 or above than previous versions. Running SSIS packages or using the Import\/Export wizard seemed time consuming and often would error out requiring more troubleshooting than it&#8217;s worth. I&#8217;m using an Access database with two tables named Customers and Orders for this post:<\/p>\n<p><a href=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-41\" alt=\"SQL Freelancer SQL Server Microsoft Access Integration\" src=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration.png\" width=\"624\" height=\"152\" srcset=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration.png 624w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-300x73.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a>First, make sure all tables are closed within in our Access database or we&#8217;ll get an error:<\/p>\n<p><a href=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-42\" alt=\"SQL Freelancer SQL Server Microsoft Access Integration\" src=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-1.png\" width=\"641\" height=\"125\" srcset=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-1.png 641w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-1-300x58.png 300w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-1-624x121.png 624w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/a>Once all tables are closed navigate to Database Tools | SQL Server as shown below:<\/p>\n<p><a href=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43\" alt=\"SQL Freelancer SQL Server Microsoft Access Integration\" src=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-2.png\" width=\"374\" height=\"134\" srcset=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-2.png 374w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-2-300x107.png 300w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/a>After clicking SQL Server an Upsizing Wizard dialog box should appear. Since I don&#8217;t have a database created I will click &#8220;Create New Database&#8221; option as shown below.<\/p>\n<p><a href=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-44\" alt=\"SQL Freelancer SQL Server Microsoft Access Integration\" src=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-3.png\" width=\"496\" height=\"367\" srcset=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-3.png 496w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-3-300x221.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a>If there was already a database in place clicking &#8220;Use existing database&#8221; will bring up a few screens to setup a data source to a preexisting database. After clicking next, we need to enter some information to connect to our SQL Server and create our database. When specifying the Login ID make sure this user has CREATE DATABASE permissions on the server. For this example I will use SQL2008 for my server and create a database called Bama:<\/p>\n<p><a href=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45\" alt=\"SQL Freelancer SQL Server Microsoft Access Integration\" src=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-4.png\" width=\"496\" height=\"367\" srcset=\"https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-4.png 496w, https:\/\/www.sqlfreelancer.com\/blog\/wp-content\/uploads\/2014\/02\/Microsoft-Access-Integration-4-300x221.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><a href=\"http:\/\/www.mssqltips.com\/sqlservertip\/2484\/import-data-from-microsoft-access-to-sql-server\/\" target=\"_blank\">Click here to view the rest of this post.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft has made importing data from Access much easier using Access 2007 or above than previous versions. Running SSIS packages or using the Import\/Export wizard seemed time consuming and often would error out requiring more troubleshooting than it&#8217;s worth. I&#8217;m using an Access database with two tables named Customers and Orders for this post: First, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17,16],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-integration","tag-microsoft-access"],"_links":{"self":[{"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":2,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlfreelancer.com\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}