Skip to content
August 25, 2014 / doganay

CHECK ALL EVENTS

SET SERVEROUTPUT ON
SET FEEDBACK OFF

DECLARE
 event_level NUMBER;
BEGIN
 FOR i IN 10000 .. 10999
 LOOP
 sys.DBMS_SYSTEM.read_ev (i, event_level);

 IF (event_level > 0)
 THEN
 DBMS_OUTPUT.put_line (
 'Event '
 || TO_CHAR (i)
 || ' set at level '
 || TO_CHAR (event_level));
 END IF;
 END LOOP;
END;
/
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: