Policy Implementation
653361Jul 16 2009 — edited Jul 16 2009Please, this is the problem am facing while trying to implement the FGAC in my DB.
When compiling this, I get the following errors when doing this query:
ora-06553: wrong number or types of argument in call no_dept10
I am trying to add it to a prediacte, so, I get the following:
ora-28113: policy predicate has error
create or replace function no_dept10(
p_schema in varchar2,
p_object in varchar2)
return varchar2 as
begin
return 'USER != "system"';
END;
/
PLease, i took this from a book and if there is a way out or what am missing here.