Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Saving time duration in SQL Server

$
0
0
What's the best way to save a time duration in SQL Server 2008 R2?  I have durations in a text file that are saved has Hours:Minutes:Seconds and I need to import these into a SQL Server 2008 R2 DB and display sums to the end user. So, for example, if I have 00:01:45 and 00:02:30 in the text file, the end user wants to see 00:04:15 as the sum. 

John Schroeder


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>