خرید بک لینک

Vote count: 0

I want to create a query that identifies entries where a long text string does not contain any of a list of substrings.

What I have is...

SELECT [other necessary data], [Long text string]
WHERE [Long String] NOT LIKE "*[substring1]*" 
  AND [Long string] NOT LIKE "*[substring2]*" 
  AND [Long string] NOT LIKE "*[substring3]*"

This works fine. HOWEVER! I want the list of excluded substrings to be variable, e.g. project 1 excludes substrings 1 and 3, project 2 excludes substrings 2, 3, and 17, etc.

Any suggestions on how to go about doing this?

asked 4 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 9 مرداد 1395 ساعت: 7:06

صفحه بندی