+3  A: 

Use DATEDIFF(minute, shiftStart.timeEntered, shiftEnd.timeEntered) * 1.0 / 60 instead, to give you the hour as a decimal.

LittleBobbyTables
Great ... I get a value that looks like this:
Beginner_Pal
4.514406 ..... I need a simple quick way to truncate the decimal without rounding to one decimal place so the output be as 4.5 ... Any idea?
Beginner_Pal
Got it...........
Beginner_Pal
Excellent trick here.
prabhats.net
+1  A: 

Time card stuff is very business rule intensive. I would consider your architecture before putting all the rules in sp's.

Decker97
A: 

This will return the Hours & Minutes: CAST(DATEDIFF(MINUTE, StartTime, EndTime) AS DECIMAL)/60

Yaqub Ahmad