Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
shm
Yak Posting Veteran
86 Posts |
Posted - 2009-01-23 : 06:52:59
|
hii have taken matrix report in the layout col date1 date2 date3 totalrows projecta emp1 09:56:54 09:04:20 09:35:06 sum (time) emp2 10:01:54 08:54:05 09:39:27 sum (time)rows projectb emp3 09:56:54 09:04:20 09:35:06 sum (time) emp4 10:01:54 08:54:05 09:39:27 sum (time)in the query am taking proj emp,date, time and total i want sum(time) for each employee.how to do this? |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-01-23 : 12:56:07
|
sum of time? what is type of time column? is it actually containing duration? |
|
|
shm
Yak Posting Veteran
86 Posts |
Posted - 2009-01-27 : 03:59:47
|
hino time is varchar datatype |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-01-27 : 13:00:06
|
nope. i was asking whether the value there represents duration value? |
|
|
shm
Yak Posting Veteran
86 Posts |
Posted - 2009-01-28 : 00:09:40
|
hiok the vlaue is 09:56:54, 09:04:20 ,09:35:06,,, like this it is stored.. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-01-30 : 12:46:31
|
sum this mean what will you be expecting?28:35:06? |
|
|
|
|
|