Forum Discussion
jsBrizius
10 years agoHelper I
Custom query with CTE not supported (bug?)
Is creating a custom query using a CTE officially not supported or am I just duing it wrong? It works in Query Editor, but you cannot close and apply. I suspect it is becuse the query seems to be e...
- 10 years ago
I ran into this issue when attempting to use Direct Query Mode. As Qiuyun has said, you can use import mode as a way around this but then you obviously have the timing issues with the data set being dependent upon being refreshed (not live).
I ended up having to build most of my data sets in SQL server using views etc and then direct connect to those.
Anonymous
8 years agoNot applicable
Does anyone know if this has been solved?
I saw the work around, but it would be much easier if it worked at a appilcation level.
Thanks!
B
bdmlc
8 years agoFrequent Visitor
You can work around it with a sub-query (just move the CTE in to your main query as a sub-query), which is crude and very SQL2K'ish but that is the world we live in, apparently.