I have an Excel sheet now I need to insert data from that sheet into SQL Server 2005.
I need to create a temp table and insert data into that table. The database name i
A simple search: http://support.microsoft.com/kb/321686
Probably easiest is
SELECT * INTO #tmptable FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\test\xltest.xls', [SheetName$])