22,209
社区成员
发帖
与我相关
我的任务
分享
sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
GO
select * from OpenDataSource('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0;HDR=Yes;IMEX=1;Database=D:\1.xlsx')...[Sheet1$]
在查询窗口跑一次试试能不能正常运行?