Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unsupported subselect type
Message
De
22/02/2008 15:24:25
 
 
À
22/02/2008 15:18:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01295494
Message ID:
01295496
Vues:
20
It doesn't like the reference to G in the subquery. This should do the job:
select G.cStyle, G.kGarment, G.cDescrip, G.nDefPrice ;
  from Garments G ;
  INNER JOIN LocGarment LG ON (LG.kGarment = G.kGarment) AND (LG.kLoc = lkLoc)
>VFP doesn't like the following, and chokes on the subselect with the error message: "SQL: Queries of this type are not supported."
>
>
>select G.cStyle, G.kGarment, G.cDescrip, G.nDefPrice ;
>  from Garments G ;
> where lkLoc in (select LG.kLoc from LocGarment LG ;
>                  where LG.kGarment = G.kGarment   )
>
>
>What have I done to offend it?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform