Super fast last migration date

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

-- Approximate date of last migration
-- Optimized for super speed (15 ms)

SELECT
   creationdate as LastUpdate
   -- caching prevents this next line from working more than once
   -- concat( datediff(d, CreationDate, getdate()), ' days ago' )
FROM Posts
where id = (select max(id) from posts)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results