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
How many squares are in this diagram?
pinging devices on ipsec tunnel
Spoolsv.exe using up to 100% CPU
Access 2010 option button value
Editable dropdown list in ASP.net 3.5 using C#
can I use my hard drive with XP and data on it with a system with replaced motherboard ?
Operation Must Use an Updateable Query
implementing aixpert on aix
Can I copy a SQL agent job (2008) from one server to another?
get latest file in the directory in unix