Where is the search variable coming from? If it's a url, and
it wasn't encoded properly, the space might cause a problem. Turn
on debugging and look at sql sent to the db.
The ScareCrow wrote:
> If the 2 words "Danger Sign" are in the field and you
search for "Danger Signs"
> then no it will not match it because it does not match.
ken, actually i think that should work. i just tried
SELECT uniLanguage
FROM unicodeTest
WHERE uniLanguage LIKE 'Chinese (%'
and it correctly returned 2 rows (Chinese (Traditional) &
Chinese (Simplified)).
maybe the search term is getting bunged up?
> To be able to do something like you want to do you will
need to look into
> "full text searching" for sql server.
that's good advice. using wild cards in LIKE where clauses
makes sql server do a
table scan instead of using an index (unless the wild card is
at the end of the
search term). ms's full text indexing wins awards for it's
search. i normally
use it instead of verity.