spool all_trgr.rslt 

set linesize 80;
set pagesize 1000;
set long 50;
set echo on;

break on "OWNER";

/* ****************************************************** */
/*                                                        */
/*  - will show all the triggers for a given database     */
/*                                                        */
/*         @c:\oracle\sql\all_trgr.sql                    */ 
/*                                                        */
/* ****************************************************** */

select 	substr(owner,1,10)                      "OWNER",
        substr(trigger_name,1,10)              	"TRIGGER",
        substr(trigger_type,1,10)              	"TYPE",
        substr(table_name,1,20)			"TABLE",
	status					"STATUS"
from 	all_triggers 
order by 1 asc, 2 asc;

set echo off;
spool off;
set long 80;
commit;









