Hello,
I have been asked to capture all employee name changes for the last 5 years and I’m a little lost with the PL_SQL required, or if this info can be retrieved using a Crystal formula.
We have an Employee_Info_Journal table in our HR db which creates a before & after record every time data is changed in the master Employee_Info table.
The records in the journal table look like the following:
Operation Which Fname Lname DateModified
U B Lilly Smith 2004-10-20
U A Lilly Brown 2005-09-26
‘Operation’ represents “U” for Update, “D” for Deletion, etc…
‘Which’: “B” refers to the before record, “A” the after record.
The info in all other fields in this journal table is the same in both B & A records.
Could you please advise?
Many thanks.
I have been asked to capture all employee name changes for the last 5 years and I’m a little lost with the PL_SQL required, or if this info can be retrieved using a Crystal formula.
We have an Employee_Info_Journal table in our HR db which creates a before & after record every time data is changed in the master Employee_Info table.
The records in the journal table look like the following:
Operation Which Fname Lname DateModified
U B Lilly Smith 2004-10-20
U A Lilly Brown 2005-09-26
‘Operation’ represents “U” for Update, “D” for Deletion, etc…
‘Which’: “B” refers to the before record, “A” the after record.
The info in all other fields in this journal table is the same in both B & A records.
Could you please advise?
Many thanks.