RA_SURVEY_VW

(SQL View)
Index Back

Survey Name List

This view will list all valid survey names.

SELECT A.SETID , A.SCRIPT_ID , A.EFFDT , A.SCRIPT_NAME , A.DESCRLONG FROM PS_RC_BSCRIPT A WHERE A.SCRIPT_TYPE IN('TELM', 'CSAT','LEAD') 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: RA_SURVEY_LNG
  • # 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 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 SCRIPT_NAME Character(40) VARCHAR2(40) NOT NULL Branch Scripting Name Field
    5 DESCRLONG Long Character CLOB Long Description