SELECT b.recname , b.fieldname ,a.language_cd , a.longname , a.shortname FROM PSDBFLDLABLLANG a , PSDBFLDLABL D , PSRECFIELD B , PSDBFIELD C WHERE a.FIELDNAME = C.FIELDNAME AND a.FIELDNAME = B.FIELDNAME AND a.FIELDNAME = D.FIELDNAME AND a.LABEL_ID = B.LABEL_ID AND a.LABEL_ID = D.LABEL_ID UNION SELECT b.recname , b.fieldname ,a.language_cd , a.longname , a.shortname FROM PSDBFLDLABLLANG a , PSDBFLDLABL D , PSRECFIELD B , PSDBFIELD C WHERE a.FIELDNAME = C.FIELDNAME AND a.FIELDNAME = B.FIELDNAME AND a.FIELDNAME = D.FIELDNAME AND a.LABEL_ID = D.LABEL_ID AND DEFAULT_LABEL = 1 AND b.label_id = ' '
|