SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Finding those reaching an anniversary
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

38 Posts

Posted - 04/30/2013 :  13:45:08  Show Profile  Reply with Quote

I've been asked to create a report that will display those reaching a 5, 10, 15, etc anniversary in a given time period. For example, those reaching one of the 5 year anniversaries during this quarter (Q2 2013). The fields I have to work with are Join_Date (Date they joined) and Service_ Interruption (number of months interrupted service which needs to be calculated to exclude that time). Any advice on how to go about doing so?

Patron Saint of Lost Yaks

30408 Posts

Posted - 05/01/2013 :  06:54:41  Show Profile  Visit SwePeso's Homepage  Reply with Quote
See http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=80709

N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000