Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is the sql's statement error
Message
 
À
18/10/2007 11:35:37
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 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01261866
Message ID:
01261933
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Hi.. the error message says that I have an "invalid group by error".. My blind mind is not geting what should wrong down there.. Please, help me!!
>
>
>SELECT  *, SUM(qty) as tot_qty, SUM(tot) as sumt;
>		FROM cur_products;
>	GROUP BY codesy ORDER BY sumt desc, tot_qty, desc;
>		INTO cursor cur_prods_tot
>
>
>TIA
>
>Claudio

Claudio,
Read carefully whole SET ENGINEBEHAVIOR topic in the HELP.
You would see why you got that error.
I strongly recommend you to change all your queries to match that behavior. Not all at once of cource but one by one. Just set ENGINEBEHAVIOR to 70 in your main program, but you MUST change them.
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