1select列名as字段名fromopenBowSet('MSDASQL.1','driver=MicrosoftExcelDriver(*.xls);dbq=文件存放地址','select * from [Sheet1$]')
sql 读取excel中的数据
注意:需要指定excel模板