﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-stublue-最新评论</title><link>http://www.cnblogs.com/stublue/CommentsRSS.aspx</link><description>快乐的写代码</description><language>zh-cn</language><pubDate>Fri, 08 Jul 2011 07:00:55 GMT</pubDate><lastBuildDate>Fri, 08 Jul 2011 07:00:55 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:C#里的方向键消息捕获</title><link>http://www.cnblogs.com/stublue/archive/2011/07/09/1814076.html#2146680</link><dc:creator>kwjlk</dc:creator><author>kwjlk</author><pubDate>Fri, 08 Jul 2011 18:35:05 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/07/09/1814076.html#2146680</guid><description><![CDATA[不错<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">kwjlk</a> 2011-07-09 02:35 <a href="http://www.cnblogs.com/stublue/archive/2011/07/09/1814076.html#2146680#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何用SQL语句查询Excel数据？</title><link>http://www.cnblogs.com/stublue/archive/2011/07/08/1848995.html#2146253</link><dc:creator>stublue</dc:creator><author>stublue</author><pubDate>Fri, 08 Jul 2011 06:59:58 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/07/08/1848995.html#2146253</guid><description><![CDATA[[quote]yanhahamade：
lz您好，我按照您的说法，服务器对象-链接服务器-访问接口-Microsoft.ACE.OLEDB.12.0-属性
勾选 允许进程内 后，还是有错误提示
帮我看看
消息 7399，级别 16，状态 1，第 1 行
链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 报错。提供程序报告了意外的灾难性错误。
消息 7303，级别 16，状态 1，第 1 行
无法初始化链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 的数据源对象。
[/quote]
你确认你安装了“Microsoft.ACE.OLEDB.12.0”吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">stublue</a> 2011-07-08 14:59 <a href="http://www.cnblogs.com/stublue/archive/2011/07/08/1848995.html#2146253#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何用SQL语句查询Excel数据？</title><link>http://www.cnblogs.com/stublue/archive/2011/06/16/1848995.html#2127152</link><dc:creator>yanhahamade</dc:creator><author>yanhahamade</author><pubDate>Thu, 16 Jun 2011 09:04:01 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/06/16/1848995.html#2127152</guid><description><![CDATA[lz您好，我按照您的说法，服务器对象-链接服务器-访问接口-Microsoft.ACE.OLEDB.12.0-属性
勾选 允许进程内 后，还是有错误提示
帮我看看
消息 7399，级别 16，状态 1，第 1 行
链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 报错。提供程序报告了意外的灾难性错误。
消息 7303，级别 16，状态 1，第 1 行
无法初始化链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 的数据源对象。
<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">yanhahamade</a> 2011-06-16 17:04 <a href="http://www.cnblogs.com/stublue/archive/2011/06/16/1848995.html#2127152#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:【c 笔记】windows的wsprintf不支持浮点型的%f</title><link>http://www.cnblogs.com/stublue/archive/2011/06/12/1661760.html#2123466</link><dc:creator>云和山的彼岸</dc:creator><author>云和山的彼岸</author><pubDate>Sun, 12 Jun 2011 08:03:59 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/06/12/1661760.html#2123466</guid><description><![CDATA[很好，终于找到结果了<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">云和山的彼岸</a> 2011-06-12 16:03 <a href="http://www.cnblogs.com/stublue/archive/2011/06/12/1661760.html#2123466#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:试用版SQL Server 2008提示评估期已过 解决办法</title><link>http://www.cnblogs.com/stublue/archive/2011/04/17/2018808.html#2073669</link><dc:creator>邀月</dc:creator><author>邀月</author><pubDate>Sun, 17 Apr 2011 14:45:26 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/04/17/2018808.html#2073669</guid><description><![CDATA[这里的软件一年全免费下载，只要你有一个学生账号edu.cn
[url=https://www.dreamspark.com/default.aspx]https://www.dreamspark.com/default.aspx[/url]<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">邀月</a> 2011-04-17 22:45 <a href="http://www.cnblogs.com/stublue/archive/2011/04/17/2018808.html#2073669#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何用SQL语句查询Excel数据？</title><link>http://www.cnblogs.com/stublue/archive/2011/04/02/1848995.html#2061014</link><dc:creator>TJerry</dc:creator><author>TJerry</author><pubDate>Sat, 02 Apr 2011 06:47:31 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/04/02/1848995.html#2061014</guid><description><![CDATA[好文要顶！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">TJerry</a> 2011-04-02 14:47 <a href="http://www.cnblogs.com/stublue/archive/2011/04/02/1848995.html#2061014#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:STR函数将数字数据转换成字符数据</title><link>http://www.cnblogs.com/stublue/archive/2011/01/09/1926381.html#2007012</link><dc:creator>stublue</dc:creator><author>stublue</author><pubDate>Sun, 09 Jan 2011 13:33:19 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/01/09/1926381.html#2007012</guid><description><![CDATA[[quote]无邪兮：默认是18位吧![/quote]
MSDN里面查的，应该不会错。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">stublue</a> 2011-01-09 21:33 <a href="http://www.cnblogs.com/stublue/archive/2011/01/09/1926381.html#2007012#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:STR函数将数字数据转换成字符数据</title><link>http://www.cnblogs.com/stublue/archive/2011/01/06/1926381.html#2005162</link><dc:creator>无邪兮</dc:creator><author>无邪兮</author><pubDate>Thu, 06 Jan 2011 09:57:15 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/01/06/1926381.html#2005162</guid><description><![CDATA[默认是18位吧!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">无邪兮</a> 2011-01-06 17:57 <a href="http://www.cnblogs.com/stublue/archive/2011/01/06/1926381.html#2005162#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何用SQL语句查询Excel数据？</title><link>http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004429</link><dc:creator>stublue</dc:creator><author>stublue</author><pubDate>Wed, 05 Jan 2011 14:34:41 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004429</guid><description><![CDATA[请问你使用的是sqlserver2005还是sqlserver2008。
服务器对象-链接服务器-访问接口-Microsoft.ACE.OLEDB.12.0-属性
勾选 允许进程内 试试
这是在sqlserver2008下。[quote]学海无涯123：
您好！
我按照您的方法查询Excel2007数据，但是有报错，您能帮我看看是什么问题吗？（安装了AccessDatabaseEngine.exe)
sql语句：
exec sp_configure 'show advanced options',1;reconfigure;
exec sp_configure 'Ad Hoc Distributed Queries',1;reconfigure;
SELECT *
FROM OpenDataSource( 'Microsoft.ACE.OLEDB.12.0',
'Data Source=&quot;H:\data.xlsx&quot;;Exten...[/quote]
请问你使用的是sqlserver2005还是sqlserver2008。
服务器对象-链接服务器-访问接口-Microsoft.ACE.OLEDB.12.0-属性
勾选 允许进程内 试试
这是在sqlserver2008下。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">stublue</a> 2011-01-05 22:34 <a href="http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004429#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何用SQL语句查询Excel数据？</title><link>http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004193</link><dc:creator>学海无涯123</dc:creator><author>学海无涯123</author><pubDate>Wed, 05 Jan 2011 08:41:35 GMT</pubDate><guid>http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004193</guid><description><![CDATA[您好！
我按照您的方法查询Excel2007数据，但是有报错，您能帮我看看是什么问题吗？（安装了AccessDatabaseEngine.exe)
sql语句：
exec sp_configure 'show advanced options',1;reconfigure;
exec sp_configure 'Ad Hoc Distributed Queries',1;reconfigure;
SELECT *
FROM OpenDataSource( 'Microsoft.ACE.OLEDB.12.0',
'Data Source=&quot;H:\data.xlsx&quot;;Extended properties=Excel 12.0')...[Sheet4$]
消息：
配置选项 'show advanced options' 已从 1 更改为 1。请运行 RECONFIGURE 语句进行安装。
配置选项 'Ad Hoc Distributed Queries' 已从 1 更改为 1。请运行 RECONFIGURE 语句进行安装。
消息 7399，级别 16，状态 1，第 3 行
链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 报错。访问被拒绝。
消息 7301，级别 16，状态 2，第 3 行
无法从链接服务器 &quot;(null)&quot; 的 OLE DB 访问接口 &quot;Microsoft.ACE.OLEDB.12.0&quot; 获取所需的接口(&quot;IID_IDBCreateCommand&quot;)。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/stublue/" target="_blank">学海无涯123</a> 2011-01-05 16:41 <a href="http://www.cnblogs.com/stublue/archive/2011/01/05/1848995.html#2004193#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
