| Constraint Name | Columns |
|---|---|
| RHN_SERVER_ID_PK | ID |
| Constraint Name | Check Condition |
|---|---|
| RHN_SERVER_DELIVER_CK | auto_deliver in ('Y', 'N') |
| RHN_SERVER_UPDATE_CK | auto_update in ('Y', 'N') |
| Constraint Name | Columns | Referenced table | Referenced Constraint | On Delete Rule |
|---|---|---|---|---|
| RHN_SERVER_CREATOR_FK | CREATOR_ID | WEB_CONTACT | WEB_CONTACT_PK | SET NULL |
| RHN_SERVER_OID_FK | ORG_ID | WEB_CUSTOMER | WEB_CUSTOMER_ID_PK | CASCADE |
| RHN_SERVER_PSID_FK | PROVISION_STATE_ID | RHNPROVISIONSTATE | RHN_PROVSTATE_ID_PK | NO ACTION |
| RHN_SERVER_SAID_FK | SERVER_ARCH_ID | RHNSERVERARCH | RHN_SARCH_ID_PK | NO ACTION |

| Option | Settings |
|---|---|
| Tablespace | DATA_TBS |
| Index Organized | No |
| Generated by Oracle | No |
| Clustered | No |
| Nested | No |
| Temporary | No |
| Index Name | Type | Unuqueness | Columns | DDL script |
|---|---|---|---|---|
| RHN_SERVER_CREATED_ID_IDX | NORMAL | NONUNIQUE | CREATED , ID | DDL script |
| RHN_SERVER_CREATOR_IDX | NORMAL | NONUNIQUE | CREATOR_ID | DDL script |
| RHN_SERVER_DSID_UQ | NORMAL | UNIQUE | DIGITAL_SERVER_ID | DDL script |
| RHN_SERVER_ID_PK | NORMAL | UNIQUE | ID | DDL script |
| RHN_SERVER_OID_ID_IDX | NORMAL | NONUNIQUE | ORG_ID , ID | DDL script |
Legend: comment string keyword reserved word operator
CREATE TRIGGER rhn_server_mod_trig before insert or update on rhnServer for each row REFERENCING NEW AS NEW OLD AS OLD begin :new.modified := sysdate; end;