Click here to Skip to main content
15,900,591 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can find for Week 1 Mar 5, 2015 - Mar 11, 2015 in sql server
Posted
Comments
CHill60 9-Dec-15 8:06am    
Your question is not clear. Post the code you have already tried and explain the problem
phil.o 9-Dec-15 8:07am    
Are you searching for the BETWEEN operator?

1 solution

You meant this?

SELECT DATEDIFF(week, '2015-03-5 00:00:00', '2015-03-11 00:00:00');
 
Share this answer
 
Comments
Prakash kumar mumbai 9-Dec-15 8:31am    
thanks for answering..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900