|
-
Jun 22nd, 2005, 03:11 AM
#1
Thread Starter
Lively Member
SQL SERVER DATEPART week problem [Solved]
I want to do a search based on the week of a given date field.
I'm using DATEPART(ww,myField) to get that week number but, I don't get the number I want.
SQL SERVER assumes that the first week begins january 1st.
Is it possible to change that and make the first week of year to be the first full week ?
Thanks
Last edited by matt3011; Jun 22nd, 2005 at 07:45 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|