Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GroupBy expression not compliant with VFP
Message
De
12/03/2008 01:13:48
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
12/03/2008 00:23:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01301191
Message ID:
01301209
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform