Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GroupBy expression not compliant with VFP
Message
From
12/03/2008 16:00:41
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01301191
Message ID:
01301526
Views:
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
>
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
Previous
Reply
Map
View

Click here to load this message in the networking platform