Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Ole DB Source throwing error while query for Excel Openrowset

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>