Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using option button in sql
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
MS SQL Server
Divers
Thread ID:
01311140
Message ID:
01311167
Vues:
30
>>Boris i have problem when i slect records both,
>>in filed (where sex=1 and sex=2).
>
>There is NO need of where. If that field contains only 1 or 2 you will follow Sergey's answer, select w/o any WHERE clause. If you can have some other values (Hmm, I am curious what they could be :-))

Unisex. :)

you need to use OR instead of AND, just because no value can be 1 AND 2 at the same time:
>
>(where sex=1 OR sex=2)
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