Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql prob
Message
 
À
03/01/1998 20:34:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00069282
Message ID:
00069387
Vues:
39
Christopher,

Not sure, but it is not adviseable to use a an b as aliases for your tables. Have not used Joins enough to find what else could be wrong.

Regards,

Marc




>Im trying to use a sql statement to get all the records
>of one table and matching records of another on a key but
>im getting a syntax error on the "ON line"
>
>I know I doing something stupid.. can anyone help..
>
>
>
>
>select a.ecode,b.ptitle,b.pacthrs,b.pdept ;
>from tbl_ba_emp a, tbl_ba_posmst b ;
>left join ;
>on a.eidno = b.eidno ;
>order by eloc,ename ;
>into table tbltcst1
>
>
>
>Chris

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform