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

RHNPACKAGEKEY

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
KEY_IDVARCHAR2(64)N  
KEY_TYPE_IDNUMBER(38)N  
PROVIDER_IDNUMBER(38)Y  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_PKEY_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_PKEY_PRID_FKPROVIDER_ID RHNPACKAGEPROVIDER RHN_PKG_PROVIDER_ID_PK NO ACTION
RHN_PKEY_TYPE_ID_PRID_FKKEY_TYPE_ID RHNPACKAGEKEYTYPE RHN_PKG_KEY_TYPE_ID_PK NO ACTION

Unique Keys:

Constraint nameColumns
RHN_PKEY_KEYID_UQKEY_ID

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_PKEY_ID_PKNORMALUNIQUEID DDL script
RHN_PKEY_KEYID_UQNORMALUNIQUEKEY_ID DDL script

Referenced by:

TableConstraint
RHNPACKAGEKEYASSOCIATION RHN_PKEYA_KID_FK

Triggers

RHN_PKG_GPG_MOD_TRIG

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

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