APPLID_RCRD_VW

(SQL View)
Index Back

APPLID records with no APP_DT

A view which contains all tables with the field APPLID but without APP_DT.

SELECT A.RECNAME ,B.SQLTABLENAME FROM PSRECFIELD A , PSRECDEFN B WHERE A.FIELDNAME = 'APPLID' AND A.RECNAME = B.RECNAME AND B.RECTYPE = 0 AND B.RECNAME NOT LIKE 'AUDIT%' AND B.RECNAME NOT LIKE '%TEO%' AND B.RECNAME NOT LIKE '%AET' AND B.RECNAME NOT LIKE '%TAO%' AND B.RECNAME NOT LIKE '%PERS%' AND B.RECNAME NOT LIKE '%PYER%' AND B.RECNAME NOT LIKE '%EARNS%' AND B.RECNAME <> 'PSHUP_TXN' AND B.RECNAME <> 'PSOPRALIAS' AND NOT EXISTS ( SELECT 'X' FROM PSRECFIELD A2 WHERE A2.FIELDNAME = 'APP_DT' AND A2.RECNAME = B.RECNAME)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RECNAME Character(15) VARCHAR2(15) NOT NULL Record (Table) Name (see PSRECDEFN).
2 SQLTABLENAME Character(18) VARCHAR2(18) NOT NULL SQL Table Name