Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Contains() in Data
Message
De
20/08/2007 17:05:55
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
 
À
30/07/2007 11:05:06
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01244595
Message ID:
01249214
Vues:
21
>Using VS2005. Is it possible to use the SQL Server Contains() function in the TableAdapter Query Configuration Wizard? If so how can I do this?
>
>Here is what I have been trying in the wizard:
> SELECT * FROM mytable WHERE contains(myfield, @myvar)
>
>But the wizard tells me that the keyword @myvar SQL construct or statement is not supported.
>
>Any ideas?
>
>Thanks,
>
>Jerry

Jerry

You need to create a full-Text index on the myfield in order to qualify the field search CONTAINS.

Evans
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform