Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 group by week using select

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-11-22 : 10:04:05
Praveen writes "I have a table which has one of its field as datetime storing dates. I want to select all the records from the table which are grouped by "week". I also want to use the date range in my sql query for e.g. "SELECT ALL THE RECORDS GROUP BY WEEK FOR
DATE > '10/5/2001' AND DATE < '14/6/2001'"
"
   

- Advertisement -