Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text search index
Message
 
À
22/05/2006 16:05:29
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01124077
Message ID:
01124101
Vues:
13
>Is it possible to have a SQL Server table with a text search index on a text field?
>
>I would like to allow users to enter keywords and search the entire contents of the text field for an occurrence of the keywords. Is this something native in SQL Server or would this required a third party add-on?
>
>We have been using Visual Foxpro table and a third part add-on called PHDbase to create text search indexes on VFP text fields. But now we would like to have this ability in SQL Server. Is this possible?


A full text index would work. Your going to do

Select myFields
from ThatTable
where FREETEXT (YourColumn, 'YourValue' )

You can do near and weights with it also. It's a good deal like PHDbase as I remember working with it back in the 90's.

Look for the Contains () as well in your searching for getting the near as I remember.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform