Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving top dates for each customer from 2 tables
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Retrieving top dates for each customer from 2 tables
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01238535
Message ID:
01238535
Vues:
52
Hi,

I have two cursors. Both have the same 3 fields. RO_num, item_date, item_descr. Each cursor already contains the top dates for each ro_num for that cursor.
Now I need to retrieve the top date for each RO_num in both cursors. Sometimes cursor1 will have an RO_num that cursor2 doesn't and vice-versa. Matching ro_nums will never have matching dates. The date in one cursor will always be higher than the other.

Any SQL statement that'll combine both cursors in one shot?

Thanks,

Marcel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform