Does anyone know how to search for whole words using '%[^a-zA-Z]Word[^a-zA-Z]%' and find the words if there is no text after it?
If I use the code below, I don't get the 'Success' message. if PATINDEX(('%[^A-Za-z]' + 'word' + '[^A-Za-z]%'),'Find the word') > 0 select 'Success'
But if use this code below, I do get the 'Success' message. if PATINDEX(('%[^A-Za-z]' + 'word' + '[^A-Za-z]%'),'Find the word go') > 0 select 'Success'
It will only match the words that have text before or after it.