Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6.0 Optimize SQL
Message
De
30/03/2000 11:52:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00352764
Message ID:
00352779
Vues:
11
Hi James !

I am not certain, but you might add parenthesis in your sql select

select dam1, yr_bred, name, sex, sire1, booked_to, last_bred, p_b, date_foal,;
date_died, cause_deat,price_sold, buy_name, age_rec, life_earn, cl;
from master;
where category = "F" and ;
(type = "S" or type = "W" or type = "Y")
order by dam1;
into table foals nofilter

- You can change the line (type = "S" or type = "W" or type = "Y") by
a) inlist(type,"S","W,"Y")
b) type $ "SWY"

Stef
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform