INSERT INTO [tblName] SELECT * FROM OPENROWSET ('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=D:\New Folder\ExcelName.xlsx;HDR=YES', 'select * from [Sheet1$]') ;
SELECT * FROM OPENROWSET ('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=D:\New Folder\ExcelName.xlsx;HDR=YES', 'select * from [Sheet1$]') ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)