I am using below sql command to import the excel file (created in excel 2007).ÃÂ
SELECt * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=C:\File1.xlsx', 'SELECT * FROM [Sheet1$]');
This command is working fine on the machine which have the office 2007.ÃÂ But, I am getting following error message when I run this command on the server on which the office 2007 is not installed:
Msg 7403, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.ACE.OLEDB.12.0" has not been registered.
View Complete Post