Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL statement /Pervasive
Message
 
À
24/06/2010 15:11:08
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01470450
Message ID:
01470465
Vues:
49
>Hello Borislav,
>
>Thanks. I don;t understand this second INNER JOIN :
>
>INNER JOIN rv_ICPRIC ON Rv_icpric.itemno) = ALLTRIM(Crs_pricelist.itemnumber);
>
>Where did you get Crs_pricelist.itemnumber ? Can up please check this?
>
>John

Sorry, copy and paste problem :-)
SELECT DISTINCT Rv_uxdetail.custcode,;
       Rv_uxdetail.itemnumber,;
       Rv_arcus.priclist,;
       Rv_icpric.desc,;
       Rv_icpric.baseprice,;
       Rv_icpric.baseunit;
FROM rv_UXDETAIL;
INNER JOIN rv_ARCUS  ON Rv_arcus.idcust  == rv_UXDETAIL.custcode;
INNER JOIN rv_ICPRIC ON Rv_icpric.itemno == rv_UXDETAIL.itemnumber; && I agree with Naomi, there is No need for ALLTRIM()
INTO CURSOR crs_CurrentPrice  
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform