sql打开xls
SELECT
* INTO 采购入库调整
FROM OPENROWSET(
'MICROSOFT.JET.OLEDB.4.0',
'Excel 8.0;IMEX=1;HDR=YES;DATABASE=d:\中药材出入库调整明细.xls',
[采购入库调整$]
)
* INTO 采购入库调整
FROM OPENROWSET(
'MICROSOFT.JET.OLEDB.4.0',
'Excel 8.0;IMEX=1;HDR=YES;DATABASE=d:\中药材出入库调整明细.xls',
[采购入库调整$]
)