SQL: how to get sunday of current week
DATEADD(wk, DATEDIFF(wk,0,GETDATE()), 6)
I know this post is old but this post comes at the top when searched through via Google.
Always good to be updating.
It will work if you change the standard DATEFIRST from Sunday (7) to Monday (1):
SET DATEFIRST 1
Select DATEADD(DAY , 7-DATEPART(WEEKDAY,GETDATE()),GETDATE()) AS 'Last Day Of Week'