Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select with wildcards.
Message
De
13/07/2001 06:38:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/07/2001 06:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00530137
Message ID:
00530141
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>How do you do a select with a wild card on a VFP table?
>
>For example
>select * from mytable where the second character=2
>
>
>i.e. these match
>_2
>123289932
>
>these don't
>143343
>141414
>
>To avoid code modification I would prefer to use one of the operators.
>= or $ or ==
>
>thanks

select * from mytable where myfield like '_2%'

also like() is VFP function that uses ?,* as wildcard chars.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform