Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What may be a problem here?
Message
De
07/02/2012 06:13:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01534642
Message ID:
01534650
Vues:
81
This message has been marked as a message which has helped to the initial question of the thread.
J'aime (1)
>Hi everybody,
>
>This query gives me the error 'Unrecognized command/keyword' but I don't see whay may be wrong here
>
>
>           SELECT ALLTRIM(T1.Value_Name) + ', ' + ALLTRIM(T2.Value_Name) as Descrip ;
>		   FROM (SELECT tmpl.Value_name, tmpl.hidden, tmpl.atname_id ;
>		   FROM i_tmplat tmpl ;
>		   INNER JOIN i_tmpnam tmp ON tmpl.tmpnam_id = tmp.tmpnam_id AND tmpl.atname_id = tmp.prim_axis ;
>		   WHERE tmpl.tmpnam_id = m.lnTmpl_ID) T1 ;
>		   CROSS JOIN i_tmplat T2 WHERE T2.tmpnam_id = m.lnTmpl_ID AND T1.hidden = .f. ;
>		   AND T2.hidden = .f. AND T2.atname_id <> T1.atname_id INTO CURSOR csrTmplInfo
>
>
>Thanks in advance.
>
>UPDATE. Replacing CROSS JOIN with just a comma fixed the problem.

Yes, that must be it. I recently learned the CROSS JOIN syntax in an Oracle course; it seems that it isn't supported by Visual FoxPro.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform