可以使用openrowset来试试!insert 表
select *
from OpenRowSet('microsoft.jet.oledb.4.0'
,'Excel 8.0;hdr=yes;database='文件路径';'
,'select * from [sheet1$]') '
select *
from OpenRowSet('microsoft.jet.oledb.4.0'
,'Excel 8.0;hdr=yes;database='文件路径';'
,'select * from [sheet1$]') '
select *
from OpenRowSet('microsoft.jet.oledb.4.0'
,'Excel 8.0;hdr=yes;database='文件路径';'
,'select * from [sheet1$]') '
'Excel 8.0;Database=D:\数据样本\test.xls', [sheet1$])我用这个可以导入正常的execl格式,但是扫描出来的execl却不可以的.!!!
是不是必须传到服务器上才可以导入execl呢?