How to Compare DateName(YEAR, TABLENAME) to NOW YEAR.......
Posted on 2008-06-12
TABLE NAME :
im trying to build a report out of the HR DATABASE to allow our Users to Pull a Report of Associates Anniversary's and have it output the number of years the associate has been there.
any help would be greatly appreciated. the report is already working for the user to select the month and it will only show the people with anniversarys that month but I would love it to show the number of years as well........for example....if Table data Shows 2002, and Todays Year is 2008 how can i get SQL to Show me 6 YEARS?