ace 读取excel

insert into T_BirdSystemSku(ID,Sku)
select ID,SKU from OpenRowSet('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;HDR=Yes;IMEX=1;Database=c:/tp.xlsx', 'select * from [工作表1$]')
where sku not in (SELECT Sku from T_BirdSystemSku)

 

可以参考: 

http://www.cnblogs.com/xiashengwang/p/3511808.html

posted @ 2016-01-11 10:52  不能失败  阅读(261)  评论(0编辑  收藏  举报