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

RHNCONFIGFILE

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
CONFIG_CHANNEL_IDNUMBER(38)N  
CONFIG_FILE_NAME_IDNUMBER(38)N  
LATEST_CONFIG_REVISION_IDNUMBER(38)Y  
STATE_IDNUMBER(38)N  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_CONFFILE_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_CONFFILE_CCID_FKCONFIG_CHANNEL_ID RHNCONFIGCHANNEL RHN_CONFCHAN_ID_PK NO ACTION
RHN_CONFFILE_CFNID_FKCONFIG_FILE_NAME_ID RHNCONFIGFILENAME RHN_CFNAME_ID_PK NO ACTION
RHN_CONFFILE_LCRID_FKLATEST_CONFIG_REVISION_ID RHNCONFIGREVISION RHN_CONFREVISION_ID_PK SET NULL
RHN_CONFFILE_SID_FKSTATE_ID RHNCONFIGFILESTATE RHN_CFSTATE_ID_PK NO ACTION

Unique Keys:

Constraint nameColumns
RHN_CONFFILE_CCID_CFNID_UQCONFIG_CHANNEL_ID , CONFIG_FILE_NAME_ID

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_CNF_FL_LCRID_IDXNORMALNONUNIQUELATEST_CONFIG_REVISION_ID DDL script
RHN_CONFFILE_CC_CFN_S_IDXNORMALNONUNIQUECONFIG_CHANNEL_ID , CONFIG_FILE_NAME_ID , STATE_ID DDL script
RHN_CONFFILE_ID_PKNORMALUNIQUEID DDL script

Referenced by:

TableConstraint
RHNCONFIGREVISION RHN_CONFREVISION_CFID_FK

Triggers

RHN_CONFFILE_MOD_TRIG

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

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