RHNPACKAGEEVR
DDL scriptColumns
Name | Type | Nullable | Default value | Comment |
---|
ID | NUMBER(38) | N | | |
EPOCH | VARCHAR2(16) | Y | | |
VERSION | VARCHAR2(512) | N | | |
RELEASE | VARCHAR2(512) | N | | |
EVR | EVR_T | N | | |
Primary key:
Constraint Name | Columns |
---|
RHN_PE_ID_PK | ID
|
Options:
Option | Settings |
---|
Tablespace | USERS |
Index Organized | No |
Generated by Oracle | No |
Clustered | No |
Nested | No |
Temporary | No |
Indexes:
Referenced by:
Triggers
RHN_PACK_EVR_NO_UPDEL_TRIG
Legend: string keyword reserved word operator
CREATE TRIGGER
rhn_pack_evr_no_updel_trig
before update or delete on rhnPackageEvr
REFERENCING NEW AS NEW OLD AS OLD
declare
operation varchar(20);
begin
if updating then
operation := 'UPDATE';
elsif deleting then
operation := 'DELETE';
else
raise_application_error(-20051, 'Unknown operation (no UPDATE and no DELETE)');
end if;
raise_application_error(-20050, 'Permission denied: ' || operation || ' is not allowed on RHNPACKAGEEVR');
end;