prompt

Last alertlog errors (Last 30 days and last 100 errors)

set pages 99 -- select to_char(ORIGINATING_TIMESTAMP, 'DD-MM-YYYY HH-MM-SS') || ' : ' || message_text "Last alertlog (30 days)" select to_char(ORIGINATING_TIMESTAMP, 'DD-MM-YYYY HH-MM-SS') , message_text "Last alertlog (30 days)" FROM X$DBGALERTEXT WHERE originating_timestamp > systimestamp - 30 AND regexp_like(message_text, '(ORA-)') AND rownum <=100; exit