试试:
SELECT * INTO 表1 FROM OpenDataSource('Microsoft.Jet.OLEDB.4.0','Data Source="c:/test.xls";Extended properties="Excel 5.0;HDR=Yes;IMEX=1;"')...[Sheet1$]
SELECT INTO 表1 FROM OpenDataSource('Microsoft.Jet.OLEDB.4.0','Data Source="c:/test.xls";Extended properties="Excel 5.0;HDR=Yes;IMEX=1;"')...[Sheet1$]
这样改了下和我先用那个语句一样的提示
不能识别命令动词