I have a table of dated invoices. I would like to display bi-weekly sub-totals of invoice amounts. E.g.:
1/1/9 - 1/14/9 $500
1/15/9 - 1/28/9 $392
etc.
The starting date (1/1/9 in the example) is variable.
Is this possible with a SQL query? Or, will I have to do the summing with, say, an ASP script? Or a stored procedure?
1/1/9 - 1/14/9 $500
1/15/9 - 1/28/9 $392
etc.
The starting date (1/1/9 in the example) is variable.
Is this possible with a SQL query? Or, will I have to do the summing with, say, an ASP script? Or a stored procedure?