![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Suppose you were looking at widget manufacturing data, and your DB looked like this: tblWidgetsProduced dtStartTime dtEndTime iWidgetsProduced Suppose you wanted to look at widgets produced per hour....but there was no guarantee that dtStartTime and dtEndTime fell on hour boundaries, so you might have the split an entry across multiple hours by allocating iWidgetsProduced proportionately across the spanned hours. Would that be possible to do in SQL? |
![]() |
| Thread Tools | |
| Display Modes | |
| |