SELECT A.RECNAME , B.FIELDNAME , A.RECDESCR FROM PSRECDEFN A , PSRECFIELD B WHERE A.RECNAME=B.RECNAME AND A.RECTYPE=0 AND A.RECNAME NOT LIKE '%_AET' AND A.RECNAME<>'RB_CREDIT_CARD' AND B.FIELDNAME IN ('CR_CARD_NBR') UNION SELECT A.RECNAME , B.FIELDNAME , A.RECDESCR FROM PSRECDEFN A , PSRECFIELD B WHERE A.RECNAME=B.RECNAME AND A.RECTYPE=0 AND A.RECNAME NOT LIKE '%_AET' AND A.RECNAME<>'RB_CREDIT_CARD' AND B.FIELDNAME IN ( SELECT A.RECNAME FROM PSRECDEFN A , PSRECFIELD B WHERE A.RECNAME=B.RECNAME AND A.RECTYPE=3 AND B.FIELDNAME IN ('CR_CARD_NBR') )
|