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 / September 2007

Tip: Looking for answers? Try searching our database.

Apostrophes in Full Text Search

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramesh - 07 Sep 2007 20:23 GMT
I would like to search the words like O'Donnel, O'Connor,Steve's etc.. in the attachments. Tried to use ContainsTable and replaced the apostrophe with another before sending to the search engine.

Also i have to search Connor in O'connor

Any thoughts

From http://www.developmentnow.com/g/104_2007_6_0_0_0/sql-server-fulltext.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
Hilary Cotter - 10 Sep 2007 16:01 GMT
All the interfaces I am aware of (except Query Analyzer) will double quote
them.

However you can also put a replace(@myString,char(39), char(39)+char(39) in
your tsql code before it hits the full-text index.

Signature

RelevantNoise.com - dedicated to mining blogs for business intelligence.

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

>I would like to search the words like O'Donnel, O'Connor,Steve's etc.. in
>the attachments. Tried to use ContainsTable and replaced the apostrophe
[quoted text clipped - 9 lines]
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
 
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.