Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having Functions in SQL Groupby
Message
From
23/03/1999 02:48:24
Ravindra Harve
Gulf Agency Co. (Dubai) L.L.C
Dubai, United Arab Emirates
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Having Functions in SQL Groupby
Miscellaneous
Thread ID:
00200811
Message ID:
00200811
Views:
34
Is there any way where we can have functions in groupby while firing a SQL statement to visual foxpro.

Eg: select jobno,year(eta) from jobmast group by year(eta)

The above SQL gives an error. THe roundabout way is

select jobno,year(eta) as yr from jobmast group by yr

The above SQL Statement works fine, but the OLAP tool which connects to visual foxpro database generates the 1st SQL statement. And the report dosen't go through.

Regards
Ravi
Next
Reply
Map
View

Click here to load this message in the networking platform