SQL Server 导入Excel遇到的问题

1.服务器配置 设置

2.服务器对象-连接服务器-访问接口-Microsoft.ACE.OLEDB.12属性 设置

3.服务- SQLSERVER-属性-登录-本地系统账户-重新启动服务

 

 

---#开启服务#---
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure

 

 

 

 

 

 

---#关闭服务#---
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure

 

posted @ 2021-12-30 19:31  _Tiko  阅读(258)  评论(0)    收藏  举报