You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to avoid doing something like : SELECT count(*) FROM X WHERE ARRAY_CONTAINS(primary_key::variant, SPLIT(:1, ';'))
I would prefer to do something like: SELECT count(*) FROM X WHERE primary_key in : 1
The issue seems to be array can not be passed in . If I try to execute the following, snowflake.createStatement({ sqlText, [ ['95844590 20210404', '80291453 20210105'], 'test' ] });, I get a Bind variable :1 not set. error.
The text was updated successfully, but these errors were encountered:
I want to avoid doing something like :
SELECT count(*) FROM X WHERE ARRAY_CONTAINS(primary_key::variant, SPLIT(:1, ';'))
I would prefer to do something like:
SELECT count(*) FROM X WHERE primary_key in : 1
The issue seems to be array can not be passed in . If I try to execute the following,
snowflake.createStatement({ sqlText, [ ['95844590 20210404', '80291453 20210105'], 'test' ] });
, I get aBind variable :1 not set.
error.The text was updated successfully, but these errors were encountered: