Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Union Select question
Message
De
04/09/2003 17:23:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Union Select question
Divers
Thread ID:
00826217
Message ID:
00826217
Vues:
47
I am trying to combine data from two tables with identical structure into a sigle cursor for a report. I am having problems setting the order in the select statement.

select * from contribsplit;
having employer = m_combo1 and checkin = m_c2;
union ALL select * from csplithist;
having employer = m_combo1 and checkin = m_c2;
into cursor alan

Regardless of where I put the

order by ssn, deduction

seatement I get an error in the order by statement, If I drop the union select from the statement it works fine. What am I missing?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform