Using asp to query Access 97 db on IIS5
I need to find exact matches for search terms within a string. EG "cat" will find cat but not catastrophe.
I cannot use "=" as that would match the whole string and I only want to find the exact match within the string.
I am trying "like '%[!a-z][search term][!a-z]%'" which is pretty clumsy and also doesn't pick up the search term if it is at the beginning of a sentence.
Can anyone help me with the syntax here? I have racked my brains coming up with all sorts of convoluted solutions that all end up having a flaw. I am sure there must be some operator within SQL as there is in FMP but I cannot find it.
Thanks all
Onya
WozfromOz
I need to find exact matches for search terms within a string. EG "cat" will find cat but not catastrophe.
I cannot use "=" as that would match the whole string and I only want to find the exact match within the string.
I am trying "like '%[!a-z][search term][!a-z]%'" which is pretty clumsy and also doesn't pick up the search term if it is at the beginning of a sentence.
Can anyone help me with the syntax here? I have racked my brains coming up with all sorts of convoluted solutions that all end up having a flaw. I am sure there must be some operator within SQL as there is in FMP but I cannot find it.
Thanks all
Onya
WozfromOz