Forum Discussion
cbsoria
Aug 25, 2020Copper Contributor
Exporting data from the Excel data model into an Excel table or as CVS file to be used in SQL Server
Hello: I have not been able to find a way to export an existing large table currently in the Excel data model (power pivot) either to an Excel table, or as a .csv file, or some other way to get it in...
skillslashlearning
Oct 11, 2021Copper Contributor
You can also use OPENROWSET to import excel file in sql server.
SELECT * INTO Your_Table FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0;Database=C:\temp\MySpreadsheet.xlsx',
'SELECT * FROM [Data$]')