dbTalk Databases Forums  

Half Hour Reporting

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Half Hour Reporting in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kent Prokopy
 
Posts: n/a

Default Half Hour Reporting - 05-23-2004 , 04:18 PM






Here is my issue. I have a stored procedure that returns information on
agent signon and signoff times, as well as the duration of seconds worked.
I need to be able to group this into half hour intervals. Can this be done
with another stored procedure?


AgentID Signon_Time Signoff_Time
Duration_Worked
2004 2004-05-20 08:00:00 2004-05-20 09:59:59
7200



AgentID Signon_Time Signoff_Time
Duration_Worked
2004 2004-05-20 08:00:00 2004-05-20 08:29:59
1800
2004 2004-05-20 08:30:00 2004-05-20 08:59:59
1800
2004 2004-05-20 09:00:00 2004-05-20 09:29:59
1800
2004 2004-05-20 09:30:00 2004-05-20 09:59:59
1800



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.