Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / June 2005

Tip: Looking for answers? Try searching our database.

Wild Card Search in Full text search

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sathian - 22 Jun 2005 15:39 GMT
Hello ,

Is there a way to implement wildcard search like using LIKE operator to
implement in FullText Search using FREETEXT or CONTAINS?
For example Giving a key word, 'Mexico'  should fetch the records which
contains 'Mexicocity'

Thanks in advance.

Regards

Sathian
Daniel Crichton - 22 Jun 2005 16:15 GMT
Sathian wrote  on Wed, 22 Jun 2005 20:09:16 +0530:

> Is there a way to implement wildcard search like using LIKE operator to
> implement in FullText Search using FREETEXT or CONTAINS?
> For example Giving a key word, 'Mexico'  should fetch the records which
> contains 'Mexicocity'

Check BOL. You can use "Mexico*" (the double quotes are required) to search
for all words starting with Mexico. eg.

CONTAINS(*,'"Mexico*"')

Dan
Hilary Cotter - 22 Jun 2005 16:19 GMT
Try the * after your search term, i.e.

select * from tablename where contains(columnname,':Mexico*"')

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> Hello ,
>
[quoted text clipped - 8 lines]
>
> Sathian
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.