Was trying to figure out (how) if I can use a list of "filter" type of string and get it working with IN in WHERE clause. I had below (and it is not working of course):
SELECT *
FROM Table1
WHERE Table2.[Filter String]
[Filter String]
here is actually a list and stores various working but wildcard criteria formats, such as:
[Facility] Like '*CityName*'
or
[Facility] Like '*CityName*' AND [ProductionLine] Like 'LineName*'
Most use cases from other threads, usually working with IN ('a', 'b', ...)
or
IN (SELECT * FROM table WHERE field=xx etc...
In my case, had to work with a data field with "changing criteria" upon users' entries. So how would you structure this SQL query?