Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Latest date of Hire - Hire or Rehire?

Status
Not open for further replies.

MCwriter

Technical User
Sep 18, 2007
3
US
I need to add a column to my columnar report that shows an employees' latest date of hire. If they only have a hire date and no rehire date, the hire date should be in that field. If they have a rehire date and a hire date the most recent date should appear in the field.

Right now I have both columns of dates but I only want to show one. Any ideas?

I am using the PS_EMPLOYMENT table. I m ahosted so RS is running on an Oracle platform.
 
Here you go

DECODE("PS_EMPLOYMENT"."REHIRE_DT",NULL,
"PS_EMPLOYMENT"."HIRE_DT","PS_EMPLOYMENT"."REHIRE_DT" )

Copy and paste

Artie Dunnings
ADTECH Consulting Inc
HRIS Functional & Technical Trainer
Alpharetta, GA
 
Thank you very much. You reallly helped me out.
Michelle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top