Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Hello All,Can any one tell me how to import data from excel sheet to sql server 2005?I have made table ready bt i dont know what i have to do for the above purpose.ThanksPrashant Hirani
RickD
Slow But Sure Yak Herding Master
3608 Posts
Posted - 2008-04-07 : 07:06:44
Something like:
insert into tableselect *FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="C:\test\test.xls";Extended properties=Excel 8.0')...[sheet1$] a