Main Tables Views Materialized Views Indexes Constraints Triggers Procedures Functions Packages Sequences Java Sources Jobs Sanity Check Index DDL scrips
Description Columns Primary key Check Constraints Foreign keys Unique Keys Options Indexes Referenced by Triggers Partitions

RHNORGEXTGROUPMAPPING

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
EXT_GROUP_IDNUMBER(38)N  
SERVER_GROUP_IDNUMBER(38)N  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_ORGEXTGROUPMAP_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_ORGEXTGROUPMAP_EG_FKEXT_GROUP_ID RHNUSEREXTGROUP RHN_USEREXTGROUP_ID_PK CASCADE
RHN_ORGEXTGROUPMAP_SG_FKSERVER_GROUP_ID RHNSERVERGROUP RHN_SERVERGROUP_ID_PK CASCADE

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_ORGEXTGROUPMAP_ES_UQNORMALUNIQUEEXT_GROUP_ID , SERVER_GROUP_ID DDL script
RHN_ORGEXTGROUPMAP_ID_PKNORMALUNIQUEID DDL script

Triggers

RHN_USERORGEXTGRMAP_MOD_TRIG

Legend: comment string keyword reserved word operator
CREATE TRIGGER 
rhn_userorgextgrmap_mod_trig
before insert or update on rhnOrgExtGroupMapping
for each row

REFERENCING NEW AS NEW OLD AS OLD
begin
        if :new.id is null then
            select rhn_orgextgroupmap_seq.nextval into :new.id from dual;
        end if;
        :new.modified := current_timestamp;
end;