Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I combine these 3 SQL statements into 1?
Message
De
27/08/1998 10:13:42
 
 
À
26/08/1998 17:06:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00130296
Message ID:
00130507
Vues:
35
Thanks John -

I know the feeling - I want to blame mine on 'occupational hazards', but it's probably in the genes :)

Sylvia

>I'd forget my own head if it wasn't attached....here is the corrected code:
>
>
>SELECT ev_eventdesc,ol_quantity,ol_orderno,pe_firstna,pe_middlei,pe_lastnam ;
>   FROM cfevents ;
>      LEFT JOIN cforder1 ON cfevents.ev_code=cforder1.ol_evcode ;
>      LEFT JOIN cforderh ON cfevents.ol_orderno=cforderh.oh_orderno ;
>      LEFT JOIN cfpeople ON cforderh.oh_peoplid=cfpeople.pe_peoplid ;
>   WHERE SUBSTR(cfevents.ev_code,1,4) = ALLT(STR(YEAR(DATE()))
>
>
>I had forgotten your filter.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform