Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GroupBy expression not compliant with VFP
Message
 
 
À
12/03/2008 00:23:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01301191
Message ID:
01301333
Vues:
10
You don't need GROUP BY in this case because you don't have aggregate functions in the column list
SELECT DISTINCT Client.AI,RTRIM(Client.Name)+' ('+RTRIM(Client.Code)+')' AS Client
 FROM Client
>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?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform