首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

数据库中怎么导入大批excel数据

2012-06-20 
数据库中如何导入大批excel数据搞开发 你有可能会遇到导入 大批excel 数据第一步:exec sp_configure show

数据库中如何导入大批excel数据

搞开发 你有可能会遇到导入 大批excel 数据
第一步:exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure第二步:select * from OpenRowSet('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;HDR=Yes;Database=E:\lin_tuser.xls', 'select * from [Sheet1$]')

这两个为注册Microsoft.Jet.OLEDB.4.0 和安装下面的是调用 OpenRowSet

热点排行