
{"id":215,"date":"2009-06-14T19:42:23","date_gmt":"2009-06-14T19:42:23","guid":{"rendered":"http:\/\/www.nunoprospero.com\/?p=215"},"modified":"2018-04-25T01:13:27","modified_gmt":"2018-04-25T00:13:27","slug":"sql-server-vs-access","status":"publish","type":"post","link":"https:\/\/www.nunoprospero.com\/blog\/2009\/06\/sql-server-vs-access\/","title":{"rendered":"SQL Server vs Access"},"content":{"rendered":"<p>How to import data from SQL Server 2005 to Microsoft Access throw VBA code? Quite simple. The problem is finding the correct SQL connection string:<\/p>\n<blockquote><p>DoCmd.TransferDatabase acImport, &#8220;ODBC&#8221;, _<br \/>\n&#8220;ODBC;DRIVER=SQL Server;&#8221; &amp; _<br \/>\n&#8220;UID=<strong>username<\/strong>;&#8221; &amp; _<br \/>\n&#8220;DATABASE=<strong>databasename<\/strong>;&#8221; &amp; _<br \/>\n&#8220;SERVER=<strong>server<\/strong>;&#8221; &amp; _<br \/>\n&#8220;PWD=<strong>password<\/strong>&#8220;, acTable, &#8220;<strong>table1<\/strong>&#8220;, &#8220;<strong>table1_copy<\/strong>&#8220;, False, True<\/p><\/blockquote>\n<p>I lost so many hours figuring out what the hell did &#8220;Could not find installable ISAM&#8221; means&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to import data from SQL Server 2005 to Microsoft Access throw VBA code? Quite simple. The problem is finding the correct SQL connection string: DoCmd.TransferDatabase acImport, &#8220;ODBC&#8221;, _ &#8220;ODBC;DRIVER=SQL Server;&#8221; &amp; _ &#8220;UID=username;&#8221; &amp; _ &#8220;DATABASE=databasename;&#8221; &amp; _ &#8220;SERVER=server;&#8221; &amp; _ &#8220;PWD=password&#8220;, acTable, &#8220;table1&#8220;, &#8220;table1_copy&#8220;, False, True I lost so many hours figuring out [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1555,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":0,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/media\/1555"}],"wp:attachment":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}