Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 CONTAINS not working

Author  Topic 

lleemon
Starting Member

24 Posts

Posted - 2012-01-24 : 07:49:31
I have the following query that returns properly.


select * from Resume
where Resume_ID = 4187300
AND CONTAINS(Resume_Desc, '"Series 7"')


That would be great but if I do a search of the 'Resume_Desc' field I do not have a phrase that is 'Series 7'.

So I found another phrase without a numeric value and then removed one character 'n' from Centers.


select * from Resume
where Resume_ID = 4187300
AND CONTAINS(Resume_Desc, '"AAMCO Ceters"')


The result is as expected and no results show up.

Does a number in a phrase equal a wildcard in CONTAINS?

Thanks for any advice.
   

- Advertisement -