RA_SURVEY_LNG

(SQL View)
Index Back

Survey Name List

This view will list all valid survey names.

SELECT A.SETID , A.SCRIPT_ID , C.LANGUAGE_CD , C.SCRIPT_NAME , C.DESCRLONG FROM PS_RC_BSCRIPT A , PS_RC_BSCRIPT_LNG C WHERE A.SETID = C.SETID AND A.EFFDT = C.EFFDT AND A.SCRIPT_ID = C.SCRIPT_ID AND A.SCRIPT_TYPE IN('TELM', 'LEAD', 'CSAT') AND A.EFF_STATUS = 'A' AND A.EFFDT <= %CurrentDateIn AND 2 < ( SELECT COUNT(*) FROM PS_RC_BS_TREE B WHERE B.SETID = A.SETID AND B.SCRIPT_ID = A.SCRIPT_ID AND B.EFFDT = A.EFFDT)

  • Related Language Record for RA_SURVEY_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
    2 SCRIPT_ID Number(12,0) DECIMAL(12) NOT NULL Script ID
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 SCRIPT_NAME Character(40) VARCHAR2(40) NOT NULL Branch Scripting Name Field
    5 DESCRLONG Long Character CLOB Long Description