Hi All,
I am trying to load the data from table to excel using the below t-sql query command.
insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=D:\Test.xls;',
'SELECT * FROM [Sheet1$]') SELECT [FilmID],[FilmName] FROM [dbo].[tblFilm]
But, I am getting the below error.
Msg 7302, Level 16, State 1, Line 1
Cannot create an instance of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".
I tried my part to find the solution in the internet, but I am unable to find.
Please help me.
Thanks,
Anilkumar