I am very sure someone already that question, but I just don't know how to put in the writing.
on my SQL server database, I am trying to search the records where field1 contains abc but not abc[de]
therefore the following records will be found
'123abc222'
'abc'
The following the records will not be found
'123abc[de]'
I know
'abc123abc[de]' is tricky, but I don't have to worry about right now.
A lot people will ask why I want to perform this search instead of change the program, database, etc. That is the problem. The problem the program is in stable condition. Adding an extra field is almost mission impossible. The last thing our team wants to introduce more problem. Yes, adding the extra column or modifying database design is better, but, like most real world application, we just want to minimum change to the existing application
Thanks