“Microsoft.ACE.OLEDB.12.0”64倍SQL Server和86X办公室? [英] 'Microsoft.ACE.OLEDB.12.0' 64x Sql Server and 86x Office?
问题描述
错误:
OLE DB提供程序Microsoft.ACE.OLEDB.12.0'不能用于分布式查询,因为提供程序配置为在单线程模式下运行。
和我看到的答案是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:
OLE DB provider 'Microsoft.ACE.OLEDB.12.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.
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办公室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!