Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn EngineBehavior 70 SQL to 80 SQL
Message
From
05/10/2006 07:13:19
 
 
To
05/10/2006 07:07:06
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01159606
Message ID:
01159607
Views:
18
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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform