Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 to VFP9 SQL work around
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
VFP6 to VFP9 SQL work around
Divers
Thread ID:
01007840
Message ID:
01007840
Vues:
61
VFP9

have the following SQL that I need to convert from VFP6 to VFP9. I do not want to add an aggregate function to every field in this table that has a lot of fields.
pre.select  b.* ;
from (exp_tick) a, property1 b ;   
where (b.key = a.key) ;
into table (exp_prop);
group by b.key ;
order by b.key
Could I do this instead?
select key from (exp_tick) into cursor cur_exp group by key
select key from property1 into cursor cur_prop group by key
select b.* ;
from cur_exp a, cur_prop b, ;
where (b.key = a.key) ;
into table (exp_prop) ;
order by b.key
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform