JOB_MAXSEQ_VW(SQL View) |
Index Back |
---|---|
Job Maximum Sequence VwJob Maximum Sequence Vw |
SELECT A.EMPLID, A.EMPL_RCD, A.EFFDT, A.JOBCODE, A.BUSINESS_UNIT FROM PS_JOB A WHERE EFFSEQ = (SELECT MAX(B.EFFSEQ) FROM PS_JOB B WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EFFDT = B.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |