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

RHNKICKSTARTSESSIONHISTORY

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
KICKSTART_SESSION_IDNUMBER(38)N  
ACTION_IDNUMBER(38)Y  
STATE_IDNUMBER(38)N  
TIMETIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MESSAGEVARCHAR2(4000)Y  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_KS_SESSIONHIST_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_KS_SESSIONHIST_AID_FKACTION_ID RHNACTION RHN_ACTION_PK SET NULL
RHN_KS_SESSIONHIST_KSID_FKKICKSTART_SESSION_ID RHNKICKSTARTSESSION RHN_KS_SESSION_ID_PK CASCADE
RHN_KS_SESSIONHIST_STAT_FKSTATE_ID RHNKICKSTARTSESSIONSTATE RHN_KS_SESSION_STATE_ID_PK NO ACTION

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_KS_SESSIONHIST_ID_PKNORMALUNIQUEID DDL script
RHN_KS_SESSIONHIST_KSID_IDXNORMALNONUNIQUEKICKSTART_SESSION_ID DDL script

Triggers

RHN_KS_SESSIONHIST_MOD_TRIG

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

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