Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Time covered in a day for staff productivity Expand / Collapse
Author
Message
Posted Monday, December 10, 2012 11:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 18, 2013 3:06 PM
Points: 8, Visits: 31
OOPS! I just saw I posted this in the wrong Topic Folde. Please forgive the newbie! I'll re-post in the correct location

I am trying to determine the amount of direct service time *staff* spent during a given work day. Table looks as follows:

PATIENT_ID, STAFF_ID, SERVICE_DATE, BEGIN_TIME, END_TIME, ELAPSED_MINUTES

The reason I can't add the elapsed minutes per day is because sometimes they work with multiple patients at a time. I am looking to add up the elapsed minutes where there is no overlap in the begin/end times. Does this make sense? I would greatly appreciate any help. I am using SQL Server 2008 R2. Thank you!
Post #1394725
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse