Columns

Constraints

Grants

Statistics

Triggers

Dependencies

Details

Partitions

Indexes


COLUMN_NAME DATA_TYPE NULLABLE DATA_DEFAULT COLUMN_ID COMMENTS
SIA_IDENTIFIER NUMBER(9,0) No null 1 System-generated unique identifier for this special interest area record (sequence: SIT209_SEQ).
AREA_NAME VARCHAR2(40 BYTE) No null 2 The name of this Special Interest Area.
DISPOFC_IDENTIFIER NUMBER(9,0) Yes null 3 The unique identifier of the Dispatch Office (FK to sit209.DISPATCH_OFFICES).
NWCG_IDENTIFIER NUMBER(9,0) Yes null 4 The unique identifier of the NWCG Unit (FK to COMMONDATA.NWCG_UNITS).
GA_IDENTIFIER NUMBER(9,0) Yes null 5 The unique identifier of the Geographic Area (FK to SIT209.GEOGRAPHIC_AREAS).
OFFICE_LEVEL VARCHAR2(1 BYTE) No null 6 Is the ID/ST combination for GACC, Dispatch or Unit
CREATED_BY VARCHAR2(30 BYTE) No null 7 The FAMWEB user that created this record.  This is an audit column that will most generally be populated via row-level database trigger(s).
CREATED_DATE DATE No null 8 The date this record was created.  This is an audit column that will most generally be populated via row-level database trigger(s).
LAST_MODIFIED_BY VARCHAR2(30 BYTE) No null 9 The FAMWEB user that last modified this record.  This column will also reflect the created_by user between the time of record creation (insert) and next modification (update).  This is an audit column that will most generally be populated via row-level database trigger(s).
LAST_MODIFIED_DATE DATE No null 10 The date this record was last modified.  This column will also reflect the created_date between the time of record creation (insert) and next modification (update).  This is an audit column that will most generally be populated via row-level database trigger(s).
CONSTRAINT_NAME CONSTRAINT_TYPE SEARCH_CONDITION R_OWNER R_TABLE_NAME R_CONSTRAINT_NAME DELETE_RULE STATUS DEFERRABLE VALIDATED GENERATED BAD RELY LAST_CHANGE INDEX_OWNER INDEX_NAME INVALID VIEW_RELATED
SIA_DISPOFC_FK Foreign_Key null SIT209 DISPATCH_OFFICES DISPOFC_PK NO ACTION ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 13-DEC-12 10:15:15 null null null null
SIA_GA_FK Foreign_Key null SIT209 GEOGRAPHIC_AREAS GA_PK NO ACTION ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 13-DEC-12 10:15:14 null null null null
SIA_OLVL_CK Check OFFICE_LEVEL IN ('G','D','U') null null null null ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 13-DEC-12 10:15:14 null null null null
SIA_PK Primary_Key null null null null null ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 13-DEC-12 10:15:07 SIT209 SIA_PK null null
SIA_UK Unique null null null null null ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 13-DEC-12 10:15:07 SIT209 SIA_UK null null
SYS_C00208362 Check "SIA_IDENTIFIER" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208363 Check "AREA_NAME" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208364 Check "OFFICE_LEVEL" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208365 Check "CREATED_BY" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208366 Check "CREATED_DATE" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208367 Check "LAST_MODIFIED_BY" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null
SYS_C00208368 Check "LAST_MODIFIED_DATE" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED GENERATED NAME null null 13-DEC-12 10:15:07 null null null null



Columns


COLUMN_NAME COLUMN_POSITION
DISPOFC_IDENTIFIER 1
COLUMN_NAME COLUMN_POSITION
GA_IDENTIFIER 1
COLUMN_NAME COLUMN_POSITION
OFFICE_LEVEL null
COLUMN_NAME COLUMN_POSITION
SIA_IDENTIFIER 1
COLUMN_NAME COLUMN_POSITION
AREA_NAME 1
OFFICE_LEVEL 2
DISPOFC_IDENTIFIER 3
NWCG_IDENTIFIER 4
GA_IDENTIFIER 5
COLUMN_NAME COLUMN_POSITION
SIA_IDENTIFIER null
COLUMN_NAME COLUMN_POSITION
AREA_NAME null
COLUMN_NAME COLUMN_POSITION
OFFICE_LEVEL null
COLUMN_NAME COLUMN_POSITION
CREATED_BY null
COLUMN_NAME COLUMN_POSITION
CREATED_DATE null
COLUMN_NAME COLUMN_POSITION
LAST_MODIFIED_BY null
COLUMN_NAME COLUMN_POSITION
LAST_MODIFIED_DATE null
PRIVILEGE GRANTEE GRANTABLE GRANTOR OBJECT_NAME
DELETE IMSRMGR NO SIT209 SPECIAL_INTEREST_AREAS
INSERT IMSRMGR NO SIT209 SPECIAL_INTEREST_AREAS
SELECT IMSRMGR NO SIT209 SPECIAL_INTEREST_AREAS
UPDATE IMSRMGR NO SIT209 SPECIAL_INTEREST_AREAS
SELECT FAMWEB_ETL NO SIT209 SPECIAL_INTEREST_AREAS
SELECT FAMWEBREADONLY NO SIT209 SPECIAL_INTEREST_AREAS
NAME VALUE
NUM_ROWS 75
BLOCKS 5
AVG_ROW_LEN 62
SAMPLE_SIZE 75
LAST_ANALYZED 31-JAN-17 22:01:13
LAST_ANALYZED_SINCE 31-JAN-17 22:01:13



Column Statistics


TRIGGER_NAME TRIGGER_TYPE TRIGGER_OWNER TRIGGERING_EVENT STATUS TABLE_NAME
BRIU_MANDATORYARC_SIA_TRG BEFORE EACH ROW SIT209 INSERT OR UPDATE ENABLED SPECIAL_INTEREST_AREAS
BRI_SIA_TRG BEFORE EACH ROW SIT209 INSERT ENABLED SPECIAL_INTEREST_AREAS
BRIU_AUDIT_SIA_TRG BEFORE EACH ROW SIT209 INSERT OR UPDATE ENABLED SPECIAL_INTEREST_AREAS




TRIGGER SIT209.BRIU_MANDATORYARC_SIA_TRG
 BEFORE
  INSERT OR UPDATE
 ON SIT209.SPECIAL_INTEREST_AREAS
REFERENCING NEW AS NEW OLD AS OLD
 FOR EACH ROW
BEGIN
  if Inserting or Updating then
    -- Enforce mandatory-exclusive arc.
    begin
      -- Check for null values for all 3 FKs.
      if :new.dispofc_identifier is null and :new.nwcg_identifier is null and :new.ga_identifier is null then
        raise_application_error(-20700,'At least one of Geographic Area, Dispatch Office, or NWCG Unit must be specified.');
      end if;
      -- Check for not null values for all 3 FKs.
      if :new.dispofc_identifier is not null and :new.nwcg_identifier is not null and :new.ga_identifier is not null then
        raise_application_error(-20701,'Only one of Geographic Area, Dispatch Office, or NWCG Unit can be specified, not all 3.');
      end if;
      -- Check for not null values for both GA and Dispatch Office.
      if :new.dispofc_identifier is not null and :new.ga_identifier is not null then
        raise_application_error(-20702,'Only one of Geographic Area or Dispatch Office can be specified, not both.');
      end if;
      -- Check for not null values for both GA and NWCG Unit.
      if :new.nwcg_identifier is not null and :new.ga_identifier is not null then
        raise_application_error(-20703,'Only one of Geographic Area or NWCG Unit can be specified, not both.');
      end if;
      -- Check for not null values for both Dispatch Office and NWCG Unit.
      if :new.nwcg_identifier is not null and :new.dispofc_identifier is not null then
        raise_application_error(-20704,'Only one of NWCG Unit and Dispatch Office can be specified, not both.');
      end if;
      --
    end;
  end if;
END;
TRIGGER SIT209.BRI_SIA_TRG
 BEFORE
  INSERT
 ON SIT209.SPECIAL_INTEREST_AREAS
REFERENCING NEW AS NEW OLD AS OLD
 FOR EACH ROW
BEGIN
  if Inserting then
    -- Set SIA_IDENTIFIER on insert if not supplied.
    begin
      if :new.sia_identifier IS NULL then
        :new.sia_identifier := sit209.sit209_util.getNextKeyValue('SIT209.SIT209_SEQ');
      end if;
    end;
  end if;
END;
TRIGGER SIT209.BRIU_AUDIT_SIA_TRG
 BEFORE
  INSERT OR UPDATE
 ON SIT209.SPECIAL_INTEREST_AREAS
REFERENCING NEW AS NEW OLD AS OLD
 FOR EACH ROW
DECLARE
  vAction varchar2(30) := null;
BEGIN
  if Inserting then
    vAction := 'inserting';
  elsif Updating then
    vAction := 'updating';
  end if;
  sit209.sit209_util.setAuditColumns(:new.created_by,
                                     :new.created_date,
                                     :new.last_modified_by,
                                     :new.last_modified_date,
                                     vAction);
END;
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
SIT209 BRIU_MANDATORYARC_SIA_TRG TRIGGER SIT209 SPECIAL_INTEREST_AREAS TABLE
SIT209 BRI_SIA_TRG TRIGGER SIT209 SPECIAL_INTEREST_AREAS TABLE
SIT209 BRIU_AUDIT_SIA_TRG TRIGGER SIT209 SPECIAL_INTEREST_AREAS TABLE
SIT209 SIT_SIA_FIRE_STATS_V VIEW SIT209 SPECIAL_INTEREST_AREAS TABLE
SIT209 SIT_SIA_FDANGER_UNITS_COUNT_V VIEW SIT209 SPECIAL_INTEREST_AREAS TABLE
SIT209 SPECIAL_INTEREST_AREAS_V VIEW SIT209 SPECIAL_INTEREST_AREAS TABLE



References


OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
NAME VALUE
CREATED 13-DEC-12 10:15:07
LAST_DDL_TIME 04-JAN-18 16:41:09
OWNER SIT209
TABLE_NAME SPECIAL_INTEREST_AREAS
TABLESPACE_NAME SIT209_DATA
CLUSTER_NAME null
IOT_NAME null
STATUS VALID
PCT_FREE 10
PCT_USED null
INI_TRANS 1
MAX_TRANS 255
INITIAL_EXTENT 65536
NEXT_EXTENT null
MIN_EXTENTS 1
MAX_EXTENTS 2147483645
PCT_INCREASE null
FREELISTS null
FREELIST_GROUPS null
LOGGING YES
BACKED_UP N
NUM_ROWS 75
BLOCKS 5
EMPTY_BLOCKS 0
AVG_SPACE 0
CHAIN_CNT 0
AVG_ROW_LEN 62
AVG_SPACE_FREELIST_BLOCKS 0
NUM_FREELIST_BLOCKS 0
DEGREE 1
INSTANCES 1
CACHE N
TABLE_LOCK ENABLED
SAMPLE_SIZE 75
LAST_ANALYZED 31-JAN-17 22:01:13
PARTITIONED NO
IOT_TYPE null
OBJECT_ID_TYPE null
TABLE_TYPE_OWNER null
TABLE_TYPE null
TEMPORARY N
SECONDARY N
NESTED NO
BUFFER_POOL DEFAULT
ROW_MOVEMENT ENABLED
GLOBAL_STATS YES
USER_STATS NO
DURATION null
SKIP_CORRUPT DISABLED
MONITORING YES
CLUSTER_OWNER null
DEPENDENCIES DISABLED
COMPRESSION DISABLED
DROPPED NO
COMMENTS A table of user-defined SIT reporting areas that are an aggregation of Dispatch Office boundaries, NWCG Unit boundaries, or Geographic Areas.
PARTITION_NAME LAST_ANALYZED NUM_ROWS BLOCKS SAMPLE_SIZE HIGH_VALUE




INDEX_OWNER INDEX_NAME UNIQUENESS STATUS INDEX_TYPE TEMPORARY PARTITIONED FUNCIDX_STATUS JOIN_INDEX COLUMNS COLUMN_EXPRESSION
SIT209 SIA_PK UNIQUE VALID NORMAL N NO null NO SIA_IDENTIFIER null
SIT209 SIA_UK UNIQUE VALID NORMAL N NO null NO AREA_NAME, OFFICE_LEVEL, DISPOFC_IDENTIFIER, NWCG_IDENTIFIER null
SIT209 SIA_GA_FK_I NONUNIQUE VALID NORMAL N NO null NO GA_IDENTIFIER null
SIT209 SIA_NWCG_FK_I NONUNIQUE VALID NORMAL N NO null NO NWCG_IDENTIFIER null
SIT209 SIA_DISPOFC_FK_I NONUNIQUE VALID NORMAL N NO null NO DISPOFC_IDENTIFIER null




INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
SIT209 SIA_PK SIT209 SPECIAL_INTEREST_AREAS SIA_IDENTIFIER 1 22 0 ASC
INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
SIT209 SIA_UK SIT209 SPECIAL_INTEREST_AREAS AREA_NAME 1 40 40 ASC
SIT209 SIA_UK SIT209 SPECIAL_INTEREST_AREAS OFFICE_LEVEL 2 1 1 ASC
SIT209 SIA_UK SIT209 SPECIAL_INTEREST_AREAS DISPOFC_IDENTIFIER 3 22 0 ASC
SIT209 SIA_UK SIT209 SPECIAL_INTEREST_AREAS NWCG_IDENTIFIER 4 22 0 ASC
SIT209 SIA_UK SIT209 SPECIAL_INTEREST_AREAS GA_IDENTIFIER 5 22 0 ASC
INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
SIT209 SIA_GA_FK_I SIT209 SPECIAL_INTEREST_AREAS GA_IDENTIFIER 1 22 0 ASC
INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
SIT209 SIA_NWCG_FK_I SIT209 SPECIAL_INTEREST_AREAS NWCG_IDENTIFIER 1 22 0 ASC
INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
SIT209 SIA_DISPOFC_FK_I SIT209 SPECIAL_INTEREST_AREAS DISPOFC_IDENTIFIER 1 22 0 ASC