Hi All,
I am trying to query the excel using the OPEN Rowset
I have configured the connection manager correctly (test connection is working).
When I am trying to write query in the source during the preview it is giving me syntax error as shown in the screenshot, I have tried all the ways from google but not working can anybody suggest anything in this :
"Syntax error in FROM Clause"
SELECT * FROM OPENROWSET ('Microsoft.ACE.OLEDB.12.0','Excel 12.0 XML;Data Source=C:\Users\sumit.kumar.dua\Desktop\Sumit\Common.xlsx;HDR=YES', 'SELECT * FROM [Sheet1$]')
Thanks in advance
Sumit