I have a production report I am working on. One of the tables I am using date and time stamps when the status is changed from one to the next. My problem lies where the status changes back and forth between one another. I need to be able to pull the earliest date fo a particular status.
Example:
Status 1 changed_date
Status 2 changed_date
Status 3 changed-date
Status 2 changed_date
I need to be able calculate the difference between Status 1 and Status 2 using the earlier Status 2 date.
Any help would be appreciated.
BHarrell
Example:
Status 1 changed_date
Status 2 changed_date
Status 3 changed-date
Status 2 changed_date
I need to be able calculate the difference between Status 1 and Status 2 using the earlier Status 2 date.
Any help would be appreciated.
BHarrell