Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search Contents of Memo Field for a String
Message
 
 
À
10/09/2001 09:02:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00554573
Message ID:
00554662
Vues:
9
>>Cetin
>>
>>>>select * from mytable where myMemo like '%'+lcSearch+'%'
>>Just tried this, and it works! Thanks. I would have never figured this out...where does the % operator come from? All my usual sources just show this as the modulus operator for arithmatic.
>>
>>Thanks again.
>>
>>--- Larry
>
>It comes from SQL itself. I don't know where it's documented more detailed but check 'Select - SQL command'. Examples 8-11 (not 11 it might confuse).
>'%' and '_' stand for wildcard chars in SQL 'LIKE' operator (* and ? in DOS).
>Cetin

I believe, it's documented under LIKE() function and LIKE Operator. The more confusing part is, that they both have different symbol, so I have to check Help when I'm using them.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform