sql server - fulltext search over data with underscore -
i have indexed table 1 of indexed columns can contains data underscore.
id name 1 01_a3l 2 02_a3l 3 03_a3l 4 05_a3l 5 name 6 name 7 name
when search table following query don't results:
select * myamazingtable where( contains(*,'"a3l*"'))
what reason this? , how can make sure results expect (all records end a3l)?
kees c bakker 100% correct, if wanted results require without of steps. quick/dirty way change search like...
select * myamazingtable name '%a3l'
% in case represent whatever comes before , make sure last 3 characters a3l. give results looking for.
Comments
Post a Comment