T-SQL

SQLServerCentral Article

Calculating Duration Using DATETIME Start and End Dates (SQL Spackle)

  • Article

It's an old problem with a solution that's nearly as old. SQL Server MVP Jeff Moden shows us the old trick mixed with a slick trick to format the duration as extended hours, minutes, seconds, and milliseconds.

4.84 (49)

You rated this post out of 5. Change rating

2015-04-03 (first published: )

49,410 reads

Blogs

Small Data SF 2024

By

I have often made an effort to attend conferences in the past to grow...

Additional Use for sp_statement_completed

By

Another discussion in Gothenburg (such a great group of people) around Extended Events lead...

Read the latest Blogs

Forums

test new topic

By philip.scott

posting a new topic

New article

By Steve Jones - SSC Editor

Comments posted to this topic are about the item New article

Monitoring Azure Blob Storage

By arindamxs

Comments posted to this topic are about the item Monitoring Azure Blob Storage

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers