Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ugly SQL
Message
 
 
À
02/10/2001 15:15:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00563216
Message ID:
00563223
Vues:
20
Unnest the joins. You will have to maintain this view programmatically and no longer use the view designer. Use EView from UT Downloads.
SELECT CONFIGFILES.*, ;
      PARAMETERS.CNAME, ;
      PARAMETERS_A.CNAME, ;
      PARAMETERS_B.CNAME, ;
      PARAMETERS_C.CNAME ;
   FROM GULFSTREAM!CONFIGFILES ;
      LEFT JOIN GULFSTREAM!PARAMETERS ;
            ON CONFIGFILES.IREMOTEPARAM1 = PARAMETERS.IPARAMID ;
      LEFT JOIN GULFSTREAM!PARAMETERS PARAMETERS_A ;
            ON CONFIGFILES.IREMOTEPARAM2 = PARAMETERS_A.IPARAMID ;
      LEFT JOIN GULFSTREAM!PARAMETERS PARAMETERS_B ;
            ON CONFIGFILES.IREMOTEPARAM3 = PARAMETERS_B.IPARAMID ;
      LEFT JOIN GULFSTREAM!PARAMETERS PARAMETERS_C ;
            ON CONFIGFILES.IREMOTEPARAM4 = PARAMETERS_C.IPARAMID ;
   WHERE CARTICLEID = ?VP_CARTICLEID
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform