I have a column in my sql server 2005 table that should hold the number of months an employee has been in service.
Since I also have the date the employee was engage
Same approach as gbn, but with less keystrokes :-)
SELECT DATEDIFF(MONTH, DateEngaged, GETDATE()) + CASE WHEN DAY(DateEngaged) < DAY(GETDATE()) THEN 1 ELSE 0 END