skip to main
|
skip to sidebar
MSSQLNOVA
Tuesday, January 13, 2009
MSSQL Get Week number of Date : DATEPART
Try this, you will get the weeknumber for any date.
SELECT ( DATEPART(wk, '02-02-2008') )
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(2)
▼
January
(2)
Error Logging in MS SQL server
MSSQL Get Week number of Date : DATEPART
About Me
An IT Devotee
View my complete profile
No comments:
Post a Comment