Export2Excel 4mSQLSERVER

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

INSERT INTO OPENROWSET('Microsoft.Jet.OLEDB.4.

0',
'Excel 8.0;Database=C:\parts1.xls;',
'SELECT parts, description,qty FROM [Sheet1$]')
SELECT itemno,itemnamea,qtyend FROM dbo.tbl_item
GO

You might also like