这些是我的表格字段
AtdId MCId AtdDate CheckIn CheckOut Status
675 7 2013-10-03 2013-10-03 16:42:49.307 2013-10-03 16:43:10.317 0#0#56
676 7 2013-10-03 2013-10-03 16:46:28.730 2013-10-03 16:46:35.780 0#0#7
677 7 2013-10-03 2013-10-03 16:49:33.190 2013-10-03 16:49:35.140 0#0#2
678 7 2013-10-03 2013-10-03 16:49:36.913 2013-10-03 16:49:38.377 0#0#2
679 7 2013-10-03 2013-10-03 16:49:39.397 2013-10-03 16:49:40.023 0#0#1
680 7 2013-10-03 2013-10-03 16:49:41.043 2013-10-03 16:49:41.703 0#0#0
681 7 2013-10-03 2013-10-03 16:49:43.307 2013-10-03 16:49:45.063 0#0#2
682 7 2013-10-03 2013-10-03 16:50:33.657 2013-10-03 16:50:45.783 0#0#12
683 7 2013-10-03 2013-10-03 16:51:35.007 2013-10-03 16:52:42.877 0#1#7
状态字段 0#0#0 是小时#分钟#秒。如何将每天的小时分钟和秒相加以显示日期的总持续时间?状态是 db 中的 varchar,我正在使用 MSSQL。