Main Tables Views Indexes Constraints Triggers Procedures Functions Packages Sanity check Index

ACS3 Data Model

Description Columns Primary key Check Constraints Foreign keys Unique Keys Options Indexes Referenced by Triggers

PORTAL_TABLES

Columns

NameTypeNullableDefault valueComment
TABLE_IDNUMBER(38)N  
TABLE_NAMEVARCHAR2(4000.0)Y  
ADPCLOBN  
ADMIN_URLVARCHAR2(1000.0)Y  
CREATION_USERNUMBER(38)Y  
MODIFIED_DATEDATEY  

Primary key:

Constraint NameColumns
SYS_C002088034TABLE_ID

Check Constraints:

Constraint NameCheck Condition
SYS_C002088033"ADP" IS NOT NULL

Foreign Keys:

Constraint NameColumnsReferenced tableReferenced ConstraintOn Delete Rule
SYS_C002088035CREATION_USER USERS SYS_C002087135 NO ACTION

Options:

OptionSettings
Index OrganizedNo
Generated by OracleNo
ClusteredNo
NestedNo
TemporaryNo

Indexes:

Index NameTypeUnuquenessColumns
SYS_C002088034NORMALUNIQUETABLE_ID
SYS_IL0001976845C00003$$LOBUNIQUE 

Referenced by:

TableConstraint
PORTAL_TABLE_PAGE_MAP SYS_C002088041

Triggers

Name: PORTAL_TABLES_AUDIT_TRIGGER
CREATE TRIGGER portal_tables_audit_trigger
before update or delete  on portal_tables
  for each row
    REFERENCING NEW AS NEW OLD AS OLD
When  (old.table_name is not null and (new.table_name is null or old.table_name <> new.table_name))
        or (old.admin_url is not null and (new.admin_url is null or old.admin_url <> new.admin_url))
	or (old.modified_date is not null and (new.modified_date is null or old.modified_date <> new.modified_date))
 
begin
       insert into portal_tables_audit
	(audit_id, table_id, table_name, adp, admin_url, modified_date, creation_user, audit_time)
       values
       	(portal_audit_id_sequence.nextval, :old.table_id, :old.table_name, :old.adp, :old.admin_url, :old.modified_date, :old.creation_user,  sysdate);
     end;



Generated by OraSchemaDoc, (c) Aram Kananov, 2002