Created
March 10, 2017 01:54
-
-
Save justinkelly/2dbd8fefaacf091b01645d8c00cb4d4b to your computer and use it in GitHub Desktop.
Equella date format log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select extract( day from diff ) days, | |
extract( hour from diff ) hours, | |
extract( minute from diff ) minutes, | |
extract( second from diff ) seconds, | |
(select Max("timestamp") - Min("timestamp")) diff | |
from equella.audit_log_entry; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment