Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GroupBy expression not compliant with VFP
Message
From
12/03/2008 01:13:48
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
12/03/2008 00:23:56
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01301191
Message ID:
01301209
Views:
15
>In SQL Server, I have this:
>
>
>SELECT Client.AI,RTRIM(Client.Name)+' ('+RTRIM(Client.Code)+')' AS Client
> FROM Client
> GROUP BY Client.AI,RTRIM(Client.Name)+' ('+RTRIM(Client.Code)+')'
>
>
>However, this is not compliant with VFP. Is there a way to make that group expression in a way that it would fit both backends?

Try this in VFP, can't test SQL at present.
SELECT Client.AI,RTRIM(Client.Name)+' ('+RTRIM(Client.Code)+')' AS Clientxxx
 FROM Client
 GROUP BY Client.AI,clientxxx
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform