<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ace on Matt Thornton</title>
    <link>http://localhost:1313/tags/ace/</link>
    <description>Recent content in Ace on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 30 Nov 2012 11:11:01 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/ace/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The OLE DB provider Microsoft.Ace.OLEDB.12.0 for linked server (null) reported an error. Access denied.</title>
      <link>http://localhost:1313/tech/databases/the-ole-db-provider-microsoft-ace-oledb-12-0-for-linked-server-null-reported-an-error-access-denied/</link>
      <pubDate>Fri, 30 Nov 2012 11:11:01 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/databases/the-ole-db-provider-microsoft-ace-oledb-12-0-for-linked-server-null-reported-an-error-access-denied/</guid>
      
        <description>&lt;p&gt;I&amp;rsquo;m noting this here primarily because I&amp;rsquo;m almost certain to trip over this again in the future. If you want to use the ACE or JET providers to read an e.g., Excel spreadsheet to an e.g., SQL Server table, then something like this is possible. Assuming you had a simple Excel workbook (Book1.xlsx) and in Sheet1 you had&lt;/p&gt;
&lt;p&gt;Col1 Col2&lt;br&gt;
Test Test2&lt;/p&gt;
&lt;p&gt;You could use this to load it:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;SELECT * INTO #tmpTable FROM OPENROWSET(&#39;Microsoft.ACE.OLEDB.12.0&#39;,&#39;Excel 12.0 Xml;HDR=YES;Database=C:TempBook1.xlsx&#39;,&#39;SELECT * FROM [Sheet1$]&#39;)&amp;lt;br /&amp;gt; GO&amp;lt;br /&amp;gt; SELECT * from #tmpTable&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>