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

RHNSNAPSHOTCONFIGREVISION

DDL script

Columns

NameTypeNullableDefault valueComment
SNAPSHOT_IDNUMBER(38)N  
CONFIG_REVISION_IDNUMBER(38)N  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_SNAPSHOTCR_CRID_FKCONFIG_REVISION_ID RHNCONFIGREVISION RHN_CONFREVISION_ID_PK NO ACTION
RHN_SNAPSHOTCR_SID_FKSNAPSHOT_ID RHNSNAPSHOT RHN_SNAPSHOT_ID_PK CASCADE

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_SNAPSHOTCR_SID_CRID_UQNORMALUNIQUESNAPSHOT_ID , CONFIG_REVISION_ID DDL script
RHN_SSCR_CRID_IDXNORMALNONUNIQUECONFIG_REVISION_ID DDL script

Triggers

RHN_SNAPSHOTCR_MOD_TRIG

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

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