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

RHNSNAPSHOTPACKAGE

DDL script

Columns

NameTypeNullableDefault valueComment
SNAPSHOT_IDNUMBER(38)N  
NEVRA_IDNUMBER(38)N  

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_SNAPSHOTPKG_NID_FKNEVRA_ID RHNPACKAGENEVRA RHN_PKGNEVRA_ID_PK NO ACTION
RHN_SNAPSHOTPKG_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_SNAPSHOTPKG_SID_NID_UQNORMALUNIQUESNAPSHOT_ID , NEVRA_ID DDL script

Triggers

RHN_SNAPSHOTPKG_MOD_TRIG

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

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