2021.03.01 10:07 PM
2022.07.19 04:43 PM
I also have this same question trying to use Simba to connect to Tableau. Everything I've read about escape clauses is about funny data types like dates or times and mentions wrapping them in {} but that didn't seem to work for me.
So like {select from mytable} doesn't work and nor does SELECT * FROM {select from mytable}
When I select an entire table and "convert" it to custom SQL it gives me syntax like the below, although I'd also like to add a where clause and ideally a bunch of other stuff and just write a normal query in Q:
SELECT "tablename"."field1" as "field1",
"tablename"."field2" as "field2
...
FROM "ROOT"."tablename" "tablename"
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.