Check when the database was last reset in Teradata