SELECT A.EOPCMAIN_ID , A.RECNAME , B.FIELDNAME , L.LANGUAGE_CD , A.EOPCAPPKEY_GRP , A.EOPCAPP_SRCREC_ID , CL.LONGNAME , CL.SHORTNAME FROM PSDBFLDLABLLANG CL , PSDBFLDLABL C , PSRECFIELDDB B , PS_EOPCMAIN_LNG L , PS_EOPCAPP_SRC_REC A WHERE L.EOPCMAIN_ID = A.EOPCMAIN_ID AND B.RECNAME = A.RECNAME AND C.FIELDNAME = B.FIELDNAME AND C.DEFAULT_LABEL = 1 AND CL.FIELDNAME = C.FIELDNAME AND CL.LABEL_ID = C.LABEL_ID AND CL.LANGUAGE_CD = L.LANGUAGE_CD AND B.LABEL_ID = ' ' UNION SELECT A.EOPCMAIN_ID , A.RECNAME , B.FIELDNAME , L.LANGUAGE_CD , A.EOPCAPPKEY_GRP , A.EOPCAPP_SRCREC_ID , CL.LONGNAME , CL.SHORTNAME FROM PSDBFLDLABLLANG CL , PSRECFIELDDB B , PS_EOPCMAIN_LNG L , PS_EOPCAPP_SRC_REC A WHERE L.EOPCMAIN_ID = A.EOPCMAIN_ID AND B.RECNAME = A.RECNAME AND CL.FIELDNAME = B.FIELDNAME AND CL.LANGUAGE_CD = L.LANGUAGE_CD AND CL.LABEL_ID = B.LABEL_ID
|