SELECT
_V_BACKUP_HISTORY.STATUS
, _V_BACKUP_HISTORY.DBNAME
, _V_BACKUP_HISTORY.USERNAME
, _V_BACKUP_HISTORY.STARTTIME
, _V_BACKUP_HISTORY.LASTUPDATE
, EXTRACT(epoch FROM ( _V_BACKUP_HISTORY.STARTTIME - _V_BACKUP_HISTORY.LASTUPDATE ))*INTERVAL '1 SECOND' AS DIFF_HHMMM
SS
, _V_BACKUP_HISTORY.LOGFILE
FROM _V_BACKUP_HISTORY
WHERE 1=1
--AND _V_BACKUP_HISTORY.STATUS = 'ACTIVE'
ORDER BY STARTTIME desc
LIMIT 300
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!