View Single Post

   
  #3 (permalink)  
Old 03-01-2008, 01:42 PM
Eugene Anthony
 
Posts: n/a
Default Re: selecting records based on date

This works.

SELECT DATEPART(mm, Dates) AS month,DATEPART(yy, Dates) AS year FROM
testing

Eugene Anthony

*** Sent via Developersdex http://www.developersdex.com ***
Reply With Quote