Hi @Jinal Contractor ,
1.Error:-OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "No value given for one or more required parameters.".
a. Please check if you open SSMS with Administrator and create new linked server for excel file.
We can refer to How to query Excel data using SQL Server linked servers.
b. If no, we can create a new linked server or use the following sql query to extract data from excel file:
sp_configure 'show advanced options', 1;
RECONFIGURE;
GO
sp_configure 'Ad Hoc Distributed Queries', 1;
RECONFIGURE;
GO
SELECT * FROM OPENROWSET
('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=C:\Mona\Test\2021\TestFiles\Test.xlsx;', 'SELECT * FROM [Sheet1$]')
GO
2.We can also use Excel Source or Excel Destination to extract data from excel file in ssis data flow task.
Best Regards,
Mona
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.