BANK_CD_LNX

(SQL View)
Index Back

Bank Code Union

To improve performance in multi language environments.

SELECT B.SETID , B.BANK_CD , B.LANGUAGE_CD , B.DESCR FROM PS_BANK_CD_LNG B WHERE LANGUAGE_CD IN ( SELECT DISTINCT LANGUAGE_CD FROM PS_BANK_CD_LNG) UNION SELECT C.SETID , C.BANK_CD , D.FIELDVALUE , C.DESCR FROM PS_BANK_CD_TBL C , PSXLATITEM D WHERE FIELDNAME = 'LANGUAGE_CD' AND NOT EXISTS ( SELECT 'X' FROM PS_BANK_CD_LNG L WHERE L.SETID = C.SETID AND L.BANK_CD = C.BANK_CD AND L.LANGUAGE_CD = D.FIELDVALUE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description