本文介绍了“Microsoft.ACE.OLEDB.12.0”64倍SQL Server和86X办公室?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:

和我看到的答案是64位SQL Server和32位Office之间的冲突。有没有一种方法来运行Excel的一个OPENROWSET到SQL Server?

 插入dbo.FiscalCalendar
选择*
OPENROWSET('Microsoft.ACE.OLEDB.12.0',
'Excel的12.0的Xml;数据库= C:\ Users \用户的uname \桌面\ fy11.xlsx;',
SELECT * FROM [Sheet1中])
 

解决方案

看来微软还没有想出这个解决办法呢。<一href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=125117&wa=wsignin1.0"相对=nofollow>检查Microsoft反馈的产品形式

他们有一些类似的解决方法使用SSIS

The error:

And the answers I'm seeing is a conflict between 64 bit Sql Server and 32 bit Office. Is there a way to run an openrowset on Excel into Sql Server?

insert into dbo.FiscalCalendar 
select * from 
openrowset('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0 Xml;Database=C:\Users\uname\Desktop\fy11.xlsx;',
'Select * from [Sheet1]')
解决方案

Looks like Microsoft hasn't come up with a solution on this yet.check Microsoft feedback form of products

They have some workarounds like using SSIS

这篇关于“Microsoft.ACE.OLEDB.12.0”64倍SQL Server和86X办公室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 08:06