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
Excel 2007 Can Not Display Images From Web
Teaching iPhone app creation...Any advice?
Mysql Query to select from two tables
Retrieve a list of unique values from a list object
flash drive manufacurer
Server 2008 R2 print server vs. XP clients
How can you search e-mail within Outlook 2010 and not use the index?
Installing SSL certifcate on exchange 2010
Get CPU Cores Amount
After moving mailbox to Exchange 2007 lost all Outlook rules