Question : Does anybody know of some neat SQL code which can calculate the date of birth of a person who is 4 1/2 today?

Does anybody know of some neat SQL code which can calculate the date of birth of a person who is 4 1/2 today?

Answer : Does anybody know of some neat SQL code which can calculate the date of birth of a person who is 4 1/2 today?

Hi,
  Is this  your asking for ?
       select dateadd(month,-6,dateadd(year,-4,getdate()))
Random Solutions  
 
programming4us programming4us