日期:2014-05-18 浏览次数:20846 次
Insert into test(ID,NAME,DEPT,CLASSID) SELECT ID,NAME,DEPT,CLASSID FROM OpenDataSource('Microsoft.Jet.OLEDB.4.0','Data Source="D:\book2.xls";User ID=admin;Password=;Extended properties=Excel 5.0')...Sheet1$
SELECT * FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\test.xls";User ID=Admin;Password=;Extended properties=Excel 5.0')...xactions