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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -