Hello
Can someone help me with this one please! Im working on a service level tracking database which records the times that a service goes down during the day (DowntimeStart/DowntimeEnd) and compares this to the times that it is required to be available (SLAStart/SLAEnd). I want to return the amount of time the service was down during the SLA period in minutes.
The result for record 1 above should be 120 minutes.
The result for record 2 above should be 30 minutes.
Hope you can help....
Regards
Gary
Can someone help me with this one please! Im working on a service level tracking database which records the times that a service goes down during the day (DowntimeStart/DowntimeEnd) and compares this to the times that it is required to be available (SLAStart/SLAEnd). I want to return the amount of time the service was down during the SLA period in minutes.
Code:
Date, DowntimeStart, DowntimeEnd, SLAStart, SLAEnd 1/1/08, 15:00, 23:00, 18:00, 20:00. 2/1/08, 15:00, 16:00, 15:30, 20:00.
The result for record 2 above should be 30 minutes.
Hope you can help....
Regards
Gary
Comment