SAD_BR_NAME_VW(SQL View) |
Index Back |
---|
SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.SAD_BR_EDU_SEC_NLD , ES.EMPLID ,NAMES1.LAST_NAME ,NAMES1.NAME_ROYAL_PREFIX ,CASE WHEN( NAMES1.FIRST_NAME %Concat NAMES1.MIDDLE_NAME) = (' ') THEN ('.') ELSE (NAMES1.FIRST_NAME %Concat NAMES1.MIDDLE_NAME) END AS SAD_BR_FST_NMS_NLD FROM PS_SAD_BR_ENRSQNLD ES , PS_NAMES NAMES1 WHERE NAMES1.EMPLID = ES.EMPLID AND NAMES1.NAME_TYPE = ( SELECT A.NAME_TYPE FROM PS_SAD_BR_INST_NLD A WHERE A.INSTITUTION =ES.INSTITUTION AND A.SCC_BRINCD_NLD =ES.SCC_BRINCD_NLD) AND NAMES1.EFFDT = ( SELECT MAX(NAMES2.EFFDT) FROM PS_NAMES NAMES2 WHERE NAMES2.EMPLID = NAMES1.EMPLID AND NAMES2.NAME_TYPE = NAMES1.NAME_TYPE AND NAMES2.EFFDT <= %CurrentDateIn AND NAMES2.EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | SCC_BRINCD_NLD | Character(4) | VARCHAR2(4) NOT NULL | BRINcode |
3 | SAD_BR_EDU_SEC_NLD | Character(2) | VARCHAR2(2) NOT NULL |
Educational Sector
BO=Professional Education ED=Education VA=VAVO |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
5 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | NAME_ROYAL_PREFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Royal Prefix |
7 | SAD_BR_FST_NMS_NLD | Character(200) | VARCHAR2(200) NOT NULL | Firstnames |