Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql statement question.....
Message
 
À
19/01/2001 16:43:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00465939
Message ID:
00466030
Vues:
12
>Here's what I did. I appears to work....i think :-)
>
>sele distinct v_terror.htc_id, 'old' as source ;
> from v_terror, valerrors ;
> where v_terror.htc_id NOT IN (select distinct valerrors.htc_id from valerrors) ;
>union ;
> select distinct valerrors.htc_id, 'new' as source from valerrors ;
> into cursor mycurse2


The distinct is not needed here
The union clause filters all the duplicate values.
Look in the help for select - sql for that
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform