Working and plying with Oracle and other stuff since 2012
Always searching for new things to learn and new questions to ask
Any opinion or mistake are my own :)
setlines500setpages50coloriginating_timestampfora40colrownumfor999999colErrorfora150-- SET PAUSE ON-- SET PAUSE 'Press Return to Continue'selectinst_id,rownum"Line",TO_CHAR(originating_timestamp,'DD-MON-YYYY HH24:MI:SS'),message_text"Error"fromTABLE(gv$(cursor(selectinst_id,originating_timestamp,message_textfromv$diag_alert_extwhereoriginating_timestamp>=(sysdate-1)ANDregexp_like(message_text,'(ORA-|error)'))))orderbyoriginating_timestampasc;
Abhilash Kumar Bhattaram is an Oracle ACE expert with years of expertise on Oracle db's and Oracle Cloud , handled Cloud Migrations to Oracle Cloud Infrastructure (OCI)
& Google BigQuery Developer
Working and plying with Oracle and other stuff since 2012
Always searching for new things to learn and new questions to ask
Any opinion or mistake are my own :)
Abhilash Kumar Bhattaram is an Oracle ACE expert with years of expertise on Oracle db's and Oracle Cloud , handled Cloud Migrations to Oracle Cloud Infrastructure (OCI)
& Google BigQuery Developer
That looks great.
Are you aware of this way as well?
I didn't use for a while, but should work:
That works too , my script can be used to check contents of all kinds of trace files.
Didn't know about that one, thanks for sharing!
You’re welcome !!!!