| Name | Data Type | Default Value | In/Out |
|---|---|---|---|
| LABEL_IN | VARCHAR2 | IN |
Legend: comment string keyword reserved word operator
1: function
2: lookup_feature_type(label_in in varchar2)
3: return number
4: deterministic
5: is
6: feature_id number;
7: begin
8: select id
9: into feature_id
10: from rhnFeature
11: where label = label_in;
12: return feature_id;
13: exception
14: when no_data_found then
15: rhn_exception.raise_exception('invalid_feature');
16: end;