Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GroupBy expression not compliant with VFP
Message
De
12/03/2008 16:00:41
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01301191
Message ID:
01301526
Vues:
11
>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
>
You're correct. Using DISTINCT is the best way to do it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform