RQ_ACAD_PLN1_LN(SQL View) |
Index Back |
---|---|
Academic Plan Table ViewThis Academic Plan Table View is used as a prompt table that selects all plans that are associated with a nonblank Academic Program. This is the related language record for RQ_ACAD_PLN1_VW. |
SELECT A.INSTITUTION , B.ACAD_PROG , A.ACAD_PLAN , A1.LANGUAGE_CD , A.EFFDT , A1.DESCR FROM PS_ACAD_PLAN_TBL A , PS_ACAD_PLAN_LANG A1 , PS_ACAD_PROG_TBL B WHERE A.INSTITUTION = A1.INSTITUTION AND A.ACAD_PLAN = A1.ACAD_PLAN AND A.EFFDT = A1.EFFDT AND A.INSTITUTION = B.INSTITUTION AND (A.ACAD_PROG = B.ACAD_PROG) AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_ACAD_PROG_TBL B1 WHERE B.INSTITUTION = B1.INSTITUTION AND B.ACAD_PROG = B1.ACAD_PROG AND B1.EFFDT <= A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
2 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL |
Academic Program
Prompt Table: ACAD_PROG_TBL |
3 | ACAD_PLAN | Character(10) | VARCHAR2(10) NOT NULL |
Academic Plan
Prompt Table: ACAD_PLAN_TBL |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |