Main Tables Views Indexes Constraints Triggers Procedures Functions Packages Sanity check Index

ACS3 Data Model

Arguments Source

WP_ROLE_ORDER

Arguments:

NameData TypeDefault ValueIn/Out
V_ROLEVARCHAR2(200.0) IN

Returns:

INTEGER(38.0)

Source

Source
     1: function wp_role_order
     2:   (v_role IN user_group_map.role%TYPE)
     3: return integer is
     4: begin
     5:   if v_role = 'read' then
     6:     return 1;
     7:   elsif v_role = 'write' then
     8:     return 2;
     9:   elsif v_role = 'admin' then
    10:     return 3;
    11:   end if;
    12: 
    13:   return null;
    14: end;


Generated by OraSchemaDoc, (c) Aram Kananov, 2002