在sqlserver数据库中查询excel中的数据
摘要:
打开高级配置,重新配置,打开分布式网络查询,重新配置exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigure select * from OpenRowSet('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;HDR=Yes;IMEX=1;Database=E:/demo.xls', 'select * from [Sheet1$ 阅读全文
posted @ 2013-06-21 14:44 流鼻涕的男孩 阅读(223) 评论(0) 推荐(0)
浙公网安备 33010602011771号