将Excel导入到SQLServer2005

select * into shang2 from OPENROWSET('MICROSOFT.JET.OLEDB.4.0' ,'Excel 5.0;HDR=YES;DATABASE=d:/bb.xls',sheet1$)

你可能感兴趣的:(Excel,sqlserver)