syntax error - command contains unrecognized phrase/keyword VFP with SQL -
syntax error - command contains unrecognized phrase/keyword VFP with SQL -
im having problem visual fox pro sql command, keeps giving me errors "inner bring together doesnt exist" (when set inner join, , without it says command contains unrecognized phrase/keyword when im doing select
*!* select * altbrequ *!* *--emp_ccodigo,req_cnumero,cen_ccodigo(codigo de centro de costo) *!* select * altbdreq *!* *--emp_ccodigo, req_cnumero,pro_ccodigo,dre_ncantid,dre_ncosref *!* select * altbprod *!* *--emp_ccodigo, pro_ccodigo, pro_cdescor *!* select * cotbasoc *!* *--emp_ccodigo,aso_ccodigo(unidad operativa),aso_cnombre *!* select * cgtbcent *!* *--emp_ccodigo,cen_ccodigo,cen_cdescri open database dbalmacen open database dbcompras open database dbcontab create sql view prueba ; select * altbrequ; bring together altbdreq on altbrequ.req_cnumero = altbdreq.req_cnumero and; bring together altbprod on altbdreq.pro_ccodigo = altbprod.pro_ccodigo and; bring together cgtbcent on altbrequ.cen_ccodigo = cgtbcent.cen_ccodigo
thanks much in advance.
greetings
take out and
s in join
statements - should allow utilize inner
:
create sql view prueba ; select * altbrequ; inner bring together altbdreq on altbrequ.req_cnumero = altbdreq.req_cnumero ; inner bring together altbprod on altbdreq.pro_ccodigo = altbprod.pro_ccodigo ; inner bring together cgtbcent on altbrequ.cen_ccodigo = cgtbcent.cen_ccodigo
sql syntax-error visual-foxpro
Comments
Post a Comment