Wednesday, January 2, 2008

To select only datepart from date column in sqlserver2005

To select only datepart from date column in sqlserver2005

select datepart(m,dob) from customers

No comments: