PTSF_CATFCTP_V

index back

Category facets

Common and non common facets reffered by a category along with description which can be used as a prompt in the UI
SELECT DISTINCT A.PTSF_SRCCAT_NAME , A.PTSF_SRCATTR_NAME , A.PTSF_SRCATTR_NAME , C.PTSF_SRCATTR_TYPE , A.PTSF_IS_COMMON , C.DESCR254 FROM PS_PTSF_CATATTRSVW A , PSPTSF_SD_ATTR B , PS_PTSF_ALLATR_V C , PSPTSF_SRCCATAT D WHERE A.PTSF_SRCATTR_NAME = B.PTSF_SRCATTR_NAME AND A.PTSF_SD_SOURCE = 'L' AND B.PTSF_IS_FACETED = 'Y' AND A.PTSF_SRCATTR_NAME = C.PTSF_SRCATTR_NAME AND A.PTSF_SD_SOURCE = C.PTSF_SD_SOURCE AND A.PTSF_SOURCE_NAME = C.PTSF_SOURCE_NAME AND A.PTSF_SRCCAT_NAME = D.PTSF_SRCCAT_NAME AND B.PTSF_SBO_NAME = D.PTSF_SBO_NAME UNION SELECT DISTINCT A.PTSF_SRCCAT_NAME , C.PTSF_FACET_NAME ,A.PTSF_SRCATTR_NAME , B.PTSF_SRCATTR_TYPE , A.PTSF_IS_COMMON , B.DESCR254 FROM PS_PTSF_CATATTRSVW A , PS_PTSF_ALLATR_V B , PS_PTSF_SES_FACTS C WHERE A.PTSF_SD_SOURCE = B.PTSF_SD_SOURCE AND A.PTSF_SOURCE_NAME = B.PTSF_SOURCE_NAME AND A.PTSF_SRCATTR_NAME = B.PTSF_SRCATTR_NAME AND C.PTSF_SRCATTR_NAME = B.PTSF_SRCATTR_NAME

BEGIN ptref.pthtml('PTSF_CATFCTP_V'); END; * ERROR at line 1: ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at "SYSADM.PTREF", line 33 ORA-06512: at "SYSADM.PTREF", line 146 ORA-06512: at line 1