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

RHNUSERGROUP

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
NAMEVARCHAR2(64)N  
DESCRIPTIONVARCHAR2(1024)N  
MAX_MEMBERSNUMBER(38)Y  
CURRENT_MEMBERSNUMBER(38)N(0)  
GROUP_TYPENUMBER(38)N  
ORG_IDNUMBER(38)N  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_USER_GROUP_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_USERGROUP_TYPE_FKGROUP_TYPE RHNUSERGROUPTYPE RHN_USERGROUPTYPE_ID_PK NO ACTION
RHN_USER_GROUP_ORG_FKORG_ID WEB_CUSTOMER WEB_CUSTOMER_ID_PK CASCADE

Unique Keys:

Constraint nameColumns
RHN_UG_OID_GT_UQORG_ID , GROUP_TYPE

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_UG_OID_GT_UQNORMALUNIQUEORG_ID , GROUP_TYPE DDL script
RHN_UG_OID_NAME_UQNORMALUNIQUEORG_ID , NAME DDL script
RHN_UG_ORG_ID_TYPE_IDXNORMALNONUNIQUEGROUP_TYPE , ID DDL script
RHN_USER_GROUP_PKNORMALUNIQUEID DDL script

Referenced by:

TableConstraint
RHNUSERGROUPMEMBERS RHN_UGMEMBERS_UGID_FK

Triggers

RHN_USER_GROUP_MOD_TRIG

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

REFERENCING NEW AS NEW OLD AS OLD
begin
        :new.modified := current_timestamp;
end;