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 |
|
dg19
Starting Member
15 Posts |
Posted - 2010-10-14 : 02:20:54
|
| Hi All,I have a column("Duration",datatype:datetime)in my table which consist of data such as below:Duration1899-12-30 00:02:15.0001899-12-30 00:01:12.000I want to sum the time. For example with the above data i will like to get 00:03:27.00Please advice. Thanking you in advance.Amit |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-14 : 02:44:22
|
http://www.sqlteam.com/article/working-with-time-spans-and-durations-in-sql-server No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
dg19
Starting Member
15 Posts |
Posted - 2010-10-14 : 06:34:30
|
| Many Thanks for your reply WebfredRegards,Amit |
 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-14 : 07:26:41
|
welcome  No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|