I'm trying to use the OPENROWSET function to import an Excel file into SQL but I'm getting the following error:select * into dbo.P09_Importfrom OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Database=\\-...\P09.xlsx;', 'SELECT * FROM [P09$A2:BY]'
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Could not find installable ISAM.".Msg 7303, Level 16, State 1, Line 100Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
What's the best way to solve this?I tried to make the file a text file (so I could use bulk insert) but the data has some issues as it's being created by Access. The data is in every other row instead.