Microsoft
Software
Hardware
Network
Question : Is it possible to create a script that will retrieve data from excel?
Hi!
Is it possible to create a script that will retrieve data from excel then save it to the relevant tables in the database?
I am using SQL Server 2008.
Regards,
Joseph
Answer : Is it possible to create a script that will retrieve data from excel?
SELECT * FROM OPENDATASOURCE('Microsoft.
Jet.OLEDB.
4.0',
'Data
Source=c:\UrExcelFile.xls;
Extended Properties=Excel 8.0')...Sheet1$ -- put ur excel filename and sheetname, you need the 3 dots and the $ symbol
Random Solutions
Vmware ESX best practice
What is implement in Caterpillar Skid Steer Loader?
Exchnage database restoration
Dynamically name my column in sql
Citrix presentation Svr 4.5 - Data collector election
Please suggest a suitable router
Set desktop wallpaper through Group Policy in SBS 2008
Exchange 2010 installed but not accessible from OWA
RPC through HTTP keeps prompting for pw on Exchange 2010
Passing a structure from VBA in Excel to a C DLL