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

RHNSNAPSHOTSERVERGROUP

DDL script

Columns

NameTypeNullableDefault valueComment
SNAPSHOT_IDNUMBER(38)N  
SERVER_GROUP_IDNUMBER(38)N  

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_SNAPSHOTSG_SGID_FKSERVER_GROUP_ID RHNSERVERGROUP RHN_SERVERGROUP_ID_PK NO ACTION
RHN_SNAPSHOTSG_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_SNAPSHOTSG_SGID_IDXNORMALNONUNIQUESERVER_GROUP_ID DDL script
RHN_SNAPSHOTSG_SID_SGID_UQNORMALUNIQUESNAPSHOT_ID , SERVER_GROUP_ID DDL script

Triggers

RHN_SNAPSHOTSG_MOD_TRIG

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

REFERENCING NEW AS NEW OLD AS OLD
begin
	update rhnSnapshot set modified = current_timestamp where id = :new.snapshot_id;
end;