prompt
Les dernières erreurs ASM (Les 30 derniers jours et les 50 dernières lignes)
SELECT /* db-html-report */
TO_CHAR(ORIGINATING_TIMESTAMP, 'DD-MM-YYYY HH-MM-SS') "Date",
MESSAGE_TEXT "Message"
FROM
X$DBGALERTEXT
WHERE
ORIGINATING_TIMESTAMP > SYSTIMESTAMP - 30
AND REGEXP_LIKE(MESSAGE_TEXT, '(ORA-)')
AND ROWNUM <=50
ORDER BY
ORIGINATING_TIMESTAMP DESC;