Main Tables Views Materialized Views Indexes Constraints Triggers Procedures Functions Packages Sequences Java Sources Jobs Sanity Check Index DDL scrips
Arguments Source

INSERT_XCCDF_PROFILE

DDL script

Arguments:

NameData TypeDefault ValueIn/Out
IDENTIFIER_INVARCHAR2 IN
TITLE_INVARCHAR2 IN

Returns:

NUMBER(38)

Source

Legend: comment string keyword reserved word operator
     1: function
     2: insert_xccdf_profile(identifier_in in varchar2, title_in in varchar2)
     3: return number
     4: is
     5:     pragma autonomous_transaction;
     6:     profile_id  number;
     7: begin
     8:     insert into rhnXccdfProfile (id, identifier, title)
     9:     values (rhn_xccdf_profile_id_seq.nextval, identifier_in, title_in) returning id into profile_id;
    10:     commit;
    11:     return profile_id;
    12: end;