Hi everyone,
I'm looking for a way to use select statement for a field which don't contain some string value.
I need to look after a particular string word in a string expression for example i want to select values where the field does not contain the word 'happy'.
Is there a way to do that ?
Thanksfully.
It's easy to do, just keep in mind that it needs to do a full table scan, therefore it won't be very fast.
select myTable where !(myTable.MyField like '*hello*');
i was looking for strContains or strFind or strScan but this way is easier thank you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 683 Most Valuable Professional
André Arnaud de Cal... 563 Super User 2025 Season 2
Sohaib Cheema 398 User Group Leader