Schema Index

 

Table TD_INSTRUCTOR in DWST@WHSE.ISC-AIT.UPENN.EDU

Tables
This table is used to store instructors for the Tuition Distribution program.
Col # Column Name Data Type Not Null? Data Def. Comments
1 INSTRUCTOR_KEY INTEGER Y   The primary key of the table.
2 INSTRUCTOR_NAME VARCHAR2(35 BYTE) Y   The name of the instructor.
3 INSTRUCTOR_PENNID VARCHAR2(8 BYTE)     The PennID of the instructor.
4 BEGIN_EFF_DATE DATE Y SYSDATE Begin Eff Date is populated when a new row is added.
5 END_EFF_DATE DATE     End Eff Date is populated only when a newer version of this dimension record is added. The default is null.
6 CURRENT_RECORD VARCHAR2(1 BYTE) Y 'T' Current Record is a T(rue)/ F(alse) Flag, indicating which of the dimension records are current. This is used for all lookups when loading the fact table.
7 INSTRUCTOR_SID VARCHAR2(9 BYTE) Y   The SSN of the instructor.

 

Indexes on TD_INSTRUCTOR
Uniqueness Index Name Columns
NON-UNIQUE TD_INSTRUCTOR_CURR_IDX CURRENT_RECORD
UNIQUE SYS_C00511906 INSTRUCTOR_KEY
NON-UNIQUE TD_INSTRUCTOR_PENNID_IDX INSTRUCTOR_PENNID

 

Triggers on TD_INSTRUCTOR
Trigger Name Status Triggering Event When Clause Trigger Type Body
TD_INSTRUCTOR_PK_TRIG ENABLED INSERT   BEFORE EACH ROW
BEGIN

    SELECT TD_INSTRUCTOR_PK_SEQ.NEXTVAL INTO :NEW.INSTRUCTOR_KEY FROM dual;

   EXCEPTION
     WHEN OTHERS THEN
       -- Consider logging the error and then re-raise
       RAISE;
END ;

 

PK, UK, & Check Constraints on TD_INSTRUCTOR
Name Type Condition Status Columns
SYS_C00511906 Primary Key   ENABLED INSTRUCTOR_KEY

 

 

Granted Privileges on TD_INSTRUCTOR
Column Grantee Grantable Privilege(s) Non-Grantable Privilege(s)
  ESTEMMLE   SELECT
  DWADMIN   ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK
  YALINGX   SELECT
  DWST_SUPPORT   SELECT
  TUITION_DIST_RL   SELECT

 

--------- TD_INSTRUCTOR does not reference any objects ---------

 

Objects which reference table TD_INSTRUCTOR
Object Owner Object Name Object Type
DWST TD_DISTRIBUTION_FACT Table (FK)
DWST TD_INSTRUCTOR_SECTION_FACT Table (FK)
DWST TD_INSTRUCTOR_PK_TRIG Trigger