Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Urgently needed! SQL Syntax in retrieving records...
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00616376
Message ID:
00616466
Vues:
21
Could it be something like this ?

where at(word1,field) > 0 AND at(word2,field) > 0 AND at(word3,field) > 0
(of course, this after you divide 'cDesc' into its composing words)

Pedro


>Supposing I have a string variable cDesc = "VIBR CHOL BIOV" and will use this as reference to retrieve all records with descriptions containing any of the 3 words in any order. If description field contains "Cholera due to Vibrio cholerae 01, biovar cholerae" or "Cholera due to Vibrio cholerae 01, biovar eltor", these records should be included in the resultset.
>
>Where description = "%"+cDesc+"%" clause is not sufficient to do the above problem.
>
>Any inputs are highly appreciated!
>
>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform