Advertisement

07.09.2008 at 06:53AM PDT, ID: 23550195
[x]
Attachment Details

need to determine work shift

Asked by charlesbaldo in MS SQL Server, SQL Server 2005

Tags: microsoft, sql server, 2005

Hi

I have a SQL server table that looks like this
INSTRUMENT_ID numeric(10,0)
StartTime DateTime
Employee varchar

I need to know how many employees are on each shift per instrument.  We can set a shift as 12:01am-8am shift1 8:01am-4pm shift2 4:01pm-12:am shift3

Thanks
Start Free Trial
[+][-]07.09.2008 at 07:10AM PDT, ID: 21963752

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, SQL Server 2005
Tags: microsoft, sql server, 2005
Sign Up Now!
Solution Provided By: mherchl
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628