SQL Grouping by Date(Quarter, Month, etc...) 
Author Message
 SQL Grouping by Date(Quarter, Month, etc...)

I am using VB3 to create a multi database query program.  Is there a way
I can write an SQL query so that records are grouped by a Datefield
Monthly and then a second field.


Sun, 30 Aug 1998 03:00:00 GMT  
 SQL Grouping by Date(Quarter, Month, etc...)


Quote:
>I am using VB3 to create a multi database query program.  Is there a way
>I can write an SQL query so that records are grouped by a Datefield
>Monthly and then a second field.

Group by Month(DateField) or Year, Weekday, etc. Can't think how to group by
quarter, although a report can do it easily.

/-------------------------------------------------------------------------\
| My parents went to Castro Street and all I got was this lousy .sig file |
| David Migicovsky           |      {*filter*}? Yes                            |

| Toronto, Ontario           |      Rich-Text Email gleefully accepted    |
\____________________________|____________________________________________/



Mon, 31 Aug 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Custom month and quarter functions

2. SQL Query group by month

3. WeekToDate, month to Date, Last Full Month

4. changing quarter dates

5. In which quarter is [date] of fiscal year?

6. Need help with customized date function for determining quarter

7. SQL SUM by Quarter

8. SQL group by date when field has long format

9. : sql statement..group using dates

10. Leap Years, Short February months etc - help

11. *** Visual Basic Consultant Needed*** 3 months+ - S.Bay, CA - Core Technology Group

12. Month Grouping and Order

 

 
Powered by phpBB® Forum Software