related question: is it possible to call `IN_ID_SE...
# troubleshooting
x
related question: is it possible to call
IN_ID_SET
inside
IN_SUBQUERY
? i’ve tried, but i seem to keep running into sql quoting issues:
Copy code
Was expecting one of:\n    \")\" ...\n    \",\" ...\n    <QUOTED_STRING> ...","errorCode":150
m
Can you share the query?
x
Copy code
SELECT userid FROM table WHERE IN_SUBQUERY(cell_id, 'SELECT ID_SET(id) FROM dimTable WHERE IN_ID_SET(location, \'...\') = 1') = 1
m
you can escape single quotes with single quotes rather than backslahes
so do a double
''
instead of a
\'
x
it works, thanks!