not 100% sure on how to title this, but here's my question
say I want to find multiple words in a string, for example: "AHU Replacement"
now the user could have stored this in the database as
"Replacement of AHU"
"Replacement of the AHU"
"The AHU needs Replacing"
and most likely in many more ways, so how could I write a query that could scan through a table and detect all of these based on this search string as an example "AHU Replacement"
which would be stored in a table itself as key searches
this code could find the 1st two strings above, however the variation of "Replacing
" and "Replacement
" is an issue:
SELECT * FROM ProjectNotes where Notes like '%AHU%' and Notes like '%replacement%'