Forum Discussion
michaeljc70
10 years agoAdvocate II
Query with CTE gives error
I used SQL Server and a query that uses a CTE. It gives me an error "Incorrent syntax near the Keyword 'WITH'. ......."if this is a common table expression......previous statement must be terminated...
Nobby
9 years agoFrequent Visitor
It's a shame. I also have this problem. I've removed the CTE but the code is much less readable/maintainable. Ho hum.
jimjao
8 years agoNew Member
Hi all,
Using Power BI Desktop (October 2017), I was able to use CTE query along with an OLE DB connection to the SQL Server.
This is no longer truth.
Jim Jao