I want to find record by this week just declare current date.
Example:
select datename(dw,getdate()) -- Example today is Friday "27-04-2012"
so how can i get date range
start on monday "23-04-2012" or sunday "22-04-2012" As @dateStart to
end on sunday "29-04-2012" or saturday "28-04-2012" As @dateEnd
then i can select query by
select * from table where date>=@dateStart AND date<=@dateEnd
Here are some helpful commands to get each day of the week
you would then use these in your query to get the date range: