select * from projects where week(enddate) = 6 and year(enddate) = 2013
SELECT * FROM projects WHERE CONVERT(INT,DATEPART(WEEK,enddate)) =6 and CONVERT(INT,DATEPART(year,enddate)) = 2013
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)