Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subquery invalid
Message
De
21/11/2006 17:26:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Subquery invalid
Divers
Thread ID:
01171586
Message ID:
01171586
Vues:
60
Hi All:

What's wrong with this:
SELECT hi_flcode, SUM(hi_amt), ;
	(SELECT SUM(lm_wldelvf), SUM(lm_hddelvf) FROM lotmast ;
	WHERE lm_flcode = hi_flcode ) ;
	FROM hatcinfo ;
	WHERE SUBSTR(hi_flcode,5,4) <= lcFlockNumberEnd  ;
	AND SUBSTR(hi_flcode,5,4) >= lcFlockNumberBegin  ;
	GROUP BY hi_flcode ;
into CURSOR results
I am getting an invalid subquery message.

Thanks,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform