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

RHNCHANNELCOMPS

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
CHANNEL_IDNUMBER(38)N  
RELATIVE_FILENAMEVARCHAR2(256)N  
LAST_MODIFIEDDATEN(sysdate)  
CREATEDDATEN(sysdate)  
MODIFIEDDATEN(sysdate)  

Primary key:

Constraint NameColumns
RHN_CHANNELCOMPS_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_CHANNELCOMPS_CID_FKCHANNEL_ID RHNCHANNEL RHN_CHANNEL_ID_PK CASCADE

Options:

OptionSettings
TablespaceDATA_TBS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_CHANNELCOMPS_ID_PKNORMALUNIQUEID DDL script

Triggers

RHN_CHANNELCOMPS_MOD_TRIG

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

REFERENCING NEW AS NEW OLD AS OLD
begin
    :new.modified := sysdate;
    if :new.last_modified = :old.last_modified
    then
        :new.last_modified := sysdate;
        end if;
end rhn_channelcomps_mod_trig;