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
Require 2 CPUs on an Intel Server SC5520HC Motherboard?
[ODBC Microsoft Access Driver]Invalid descriptor index error
call .rdl with store procedure with parameter
Backup Return of investment
Keystore file to sign jar via a thawte code signing certificate
workgroup computer connected to domain LAN cannot browse web but can resolve IPs
OMA and OWA
OWA Setup
VNC server Ubuntu 10.04
How to do SQL search with LIKE and ignore special characters?