--开启导入功能
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
--允许在进程中使用ACE.OLEDB.12
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1
--允许动态参数
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1
相关文章
- 消息 7303,级别 16,状态 1,第 9 行 无法初始化链接服务器“(null)”的 OLE DB 访问接口“MSDASQL”的数据源对象。
- 链接服务器 "(null)" 的 OLE DB 访问接口 ".12.0" 报错
- 无法为链接服务器null创建OLEDB提供程序Microsoft.Jet.OLEDB.4.0的实例
- SQL SERVER导入EXCEL文件:无法创建链接服务器 "(null)" 的 OLE DB 访问接口 "Microsoft.Ace.OLEDB.12.0" 的实例。
- 无法创建链接服务器 "xxx" 的 OLE DB 访问接口 "OraOLEDB.Oracle" 的实例。 (Microsoft SQL Server,错误: 7302)