Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turn EngineBehavior 70 SQL to 80 SQL
Message
De
05/10/2006 07:13:19
 
 
À
05/10/2006 07:07:06
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
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 8 SP1
Divers
Thread ID:
01159606
Message ID:
01159607
Vues:
19
You must include all the fields in the Group by clause
INSERT INTO crsDisclaimer (DiscName, Verbage) ;
	SELECT ;
		web_FundType.DiscName, ;
		web_FundType.Disclos2 AS Verbage ;
		FROM iAccts ;
		JOIN web_FundType ON iAccts.FundTypeId = web_FundType.FundTypeId ;
		GROUP BY web_FundType.DiscName,web_FundType.Disclos2
>Just can't seem to get this to work. I tried to break it up into two statements, but still not getting the results I need. Any help is appreciated.
>
>
>INSERT INTO crsDisclaimer (DiscName, Verbage) ;
>	SELECT ;
>		web_FundType.DiscName, ;
>		web_FundType.Disclos2 AS Verbage ;
>		FROM iAccts ;
>		JOIN web_FundType ON iAccts.FundTypeId = web_FundType.FundTypeId ;
>		GROUP BY web_FundType.DiscName
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform