Depending on which database server you are using, you may be able to use the ADD_MONTHS() built in method. I know for sure this method is available in SQL Server and Oracle. You may need to check your current database's help file to see if this is supported. Something like the following...
Comments
Depending on which database server you are using, you may be able to use the
ADD_MONTHS() built in method. I know for sure this method is available in
SQL Server and Oracle. You may need to check your current database's help
file to see if this is supported. Something like the following...
SELECT ADD_MONTHS(HireDate, -3) FROM Employees
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Ken