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
In Lists, Advanced partial SQL, when I enter the query:
subscribers.email NOT LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com'])
then the list is not filtered as it should. Nothing is filtered
However, if I enter:
subscribers.email LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com'])
then the query works correctly
and if I enter:
subscribers.email NOT LIKE '%@gmail.com' AND subscribers.email NOT LIKE '%@yahoo.com'
it works too
Queries 1 and 3 give the same result, but 1 is more concise, especially because I want to input a very big list (because of issues #1968 and #1961 )
The text was updated successfully, but these errors were encountered:
benstaf
changed the title
subscribers.email NOT LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com']) - List not filtered as it should
subscribers.email NOT LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com']) - List not filtered
Aug 4, 2024
subscribers.email NOT LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com'])
@benstaf That partial SQL seems to be incorrect in achieving your desired result. I think the query you're rather looking for is: NOT (subscribers.email LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com']))
Version:
In Lists, Advanced partial SQL, when I enter the query:
subscribers.email NOT LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com'])
then the list is not filtered as it should. Nothing is filtered
However, if I enter:
subscribers.email LIKE ANY (ARRAY['%@gmail.com', '%@yahoo.com'])
then the query works correctly
and if I enter:
subscribers.email NOT LIKE '%@gmail.com' AND subscribers.email NOT LIKE '%@yahoo.com'
it works too
Queries 1 and 3 give the same result, but 1 is more concise, especially because I want to input a very big list (because of issues #1968 and #1961 )
The text was updated successfully, but these errors were encountered: