I have a situation in which some time duration is in negative format and stored as string in SQL database as
Code
-06:34:41and some of will be in positive format as
02:00:00 and
Code
01:00:00Now I need to add/sum these time duration in select query using SQL Server 2008 such that result will be
Code
-03:34:41and then after calculation i need it back into string format .Thanks in advance.

Raja TRank #685 · 3.5K reputationPosted Jul 13, 2015, 12:15 AM EDT
waqas shah56 reputationPosted Jul 13, 2015, 1:00 AM EDT