Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GROUP BY on expression
Message
From
10/04/2003 02:56:30
 
 
To
10/04/2003 02:54:15
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00775899
Message ID:
00775902
Views:
19
>did you try grouping on a fieldnumber ?
>
>
>? SQLExec(lnHandle,"SELECT YEAR(AddDate) AS Test FROM News GROUP BY 1")
>
From all my tests so far, SQL Server don't support a group by by using an integer as a reference. I only succeeded when using existing field names.
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
Next
Reply
Map
View

Click here to load this message in the networking platform