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

RHNSERVERNETINTERFACE

DDL script

Columns

NameTypeNullableDefault valueComment
IDNUMBER(38)N  
SERVER_IDNUMBER(38)N  
NAMEVARCHAR2(32)N  
HW_ADDRVARCHAR2(18)Y  
MODULEVARCHAR2(128)Y  
IS_PRIMARYVARCHAR2(1)Y  
CREATEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  
MODIFIEDTIMESTAMP(6) WITH LOCAL TIME ZONEN(current_timestamp)  

Primary key:

Constraint NameColumns
RHN_SRV_NET_IFACE_ID_PKID

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
RHN_SRV_NET_IFACE_SID_FKSERVER_ID RHNSERVER RHN_SERVER_ID_PK NO ACTION

Unique Keys:

Constraint nameColumns
RHN_SRV_NET_IFACE_SID_NAME_UQSERVER_ID , NAME

Options:

OptionSettings
TablespaceUSERS
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumnsDDL script
RHN_SRV_NET_IFACE_ID_PKNORMALUNIQUEID DDL script
RHN_SRV_NET_IFACE_PRIM_IFACEFUNCTION-BASED NORMALUNIQUECASE WHEN "IS_PRIMARY" IS NULL THEN NULL ELSE "SERVER_ID" END DDL script
RHN_SRV_NET_IFACE_SID_NAME_IDXNORMALNONUNIQUESERVER_ID , NAME DDL script

Referenced by:

TableConstraint
RHNSERVERNETADDRESS4 RHN_SRV_NET_IADDRESS4_IID_FK
RHNSERVERNETADDRESS6 RHN_SRV_NET_IADDRESS6_IID_FK

Triggers

RHN_SRV_NET_IFACE_MOD_TRIG

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

REFERENCING NEW AS NEW OLD AS OLD
begin
        if :new.id is null then
			select rhn_srv_net_iface_id_seq.nextval into :new.id from dual;
		end if;
        :new.modified := current_timestamp;
end;