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.

Catalog and characters with accent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paulo Andre Ortega Ribeiro - 27 Jun 2005 15:06 GMT
I have a question about SQL Server 2000 Full Text Index.

I want to create a catalog in a field (varchar(255)), but I?m with 2
problems:

1. The characters of this field can have accent. But when I do a search
I want to see the rows with and without the accent. For example:
        SELECT NAME
        FROM TABLE
        WHERE CONTAINS (FIELD, '"PLASTICO*"')

With this command I want to see the row PLASTICO and the row PL?STICO.

Is it possible? Now, I?m just receiving only the row PLASTICO. I need
that the catalog be accent insensitive. Can I do that?

2. My sencond problem is: I need to see also the rows that have the word
PLASTICO inside the complete word. For example: I want to see also the
rows with INTERPLASTICO, 2PLASTICO, XPTOPLASTICO. But whe I wrote the
following command I don?t receive these words:
        SELECT NAME
        FROM TABLE
        WHERE CONTAINS (FIELD, '"*PLASTICO*"')

Is it possible to do that? I wnat to see the rows that have the word
PLASTIC in the begin, middle or end of the words.

Thaks,

Paulo
Hilary Cotter - 27 Jun 2005 16:07 GMT
SQL 2005 can solve both your problems. You can configure your catalog for
accent insensitive searches. You can also use the thesaurus option to expand
your search on plastico to search on interpastico, 2plastico, and
xptoplastico, as long as you enter all of these expansion terms into your
thesaurus file in advance.

In SQL 2000 you have to expand your search terms for accented or unaccented
versions as well as the alternate word forms.
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

> I have a question about SQL Server 2000 Full Text Index.
>
[quoted text clipped - 28 lines]
>
> *** Sent via Developersdex http://www.developersdex.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.