Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL LIKE command
Message
De
17/08/1998 14:33:23
 
 
À
17/08/1998 14:00:47
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127474
Message ID:
00127505
Vues:
29
>>findtext = "%" + thisform.txtsearch.value + "%"
>>select * from task;
>>where description LIKE findtext

findtext = '%'+alltrim(findtext)+'%'
findtext = upper(findtext)
select * from task where upper(description) LIKE findtext

You also will want an index on UPPER(description)...

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform