View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 08:07 PM
Fred Thompson
 
Posts: n/a
Default Need help with MS SQL query

I'm using MS SQL 2000 server. I have a table which includes a date field
which has people's birthdays in it. How can I write a query to return all
the records of people with birthdays within the next 30 days? (Based on
system date as the starting point.) Actual year of birthday is irrelevant.
Also the next 30 days may span into the next month, or the next year.


Reply With Quote