读xls

insert into 要插入的表 select 列 from OpenRowSet('Microsoft.ACE.OLEDB.12.0','Excel 12.0;HDR=Yes;IMEX=1;Database=上传的路径或者读取的路径', 'select * from [Sheet1$]')

posted @ 2013-03-21 11:05  落叶随心  阅读(91)  评论(0编辑  收藏  举报