1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
begin
for rec in (select table_name from dba_tables where owner='EXO' )
loop
dbms_fga.add_policy(object_schema=>'EXO',
object_name=>rec.table_name,
policy_name=>rec.table_name||'_fga',
audit_condition=>1=1,
audit_column=>null,
handler_module=>null,
handler_schema=>null,
enable=>true,
statements_type=>'SELECT,INSERT,UPDATE,DELETE') ;
end loop;
end;
/
dbms_fga.add_policy(object_schema=>'EXO',
*
ERREUR à la ligne 4 :
ORA-06550: Ligne 4, colonne 10 :
PLS-00306: numéro ou types d'arguments erronés dans appel à 'ADD_POLICY'
ORA-06550: Ligne 4, colonne 10 :
PL/SQL: Statement ignored |