LM_SURVEY_ILVW

(SQL View)
Index Back

Survey look up language view.

Language View for selecting the Survey which have a Survey LC of type Internal.

SELECT DISTINCT B.LM_LE_ID ,C.LM_PERSON_ID , I.LM_SURVEY_ID ,J.LANGUAGE_CD , J.LM_ATTRIB_DESCR FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_GROUP_PERSON C , PS_LM_ACT_SEC D , PS_LM_INSTR E , PS_LM_SES_INSTR F , PS_LM_ENRLMT G , PS_LM_LC H , PS_LM_SURVEY_DEFN I , PS_LM_SRVY_DFN_LNG J , PS_LM_LC_TYPE_TBL X1 WHERE G.LM_ACT_ID = H.LM_ACT_ID AND G.LM_ACT_ID = A.LM_ACT_ID AND H.LM_SURVEY_ID = I.LM_SURVEY_ID AND H.LM_INTERNAL = 'Y' AND A.LM_ACT_ID = B.LM_ACT_ID AND D.LM_ACT_ID = A.LM_ACT_ID AND D.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LRNR_GROUP_ID = D.LM_LRNR_GROUP_ID AND A.LM_ACT_STATUS IN ('1', '2', '3', '5') AND F.LM_ACT_ID = A.LM_ACT_ID AND C.LM_PERSON_ID = F.LM_INSTR_ID AND I.LM_SURVEY_ID = J.LM_SURVEY_ID AND X1.LM_BAS_LC_TYPE = '60' AND X1.LM_LC_TYPE_ID = H.LM_LC_TYPE_ID UNION SELECT DISTINCT B.LM_LE_ID ,C.LM_PERSON_ID , I.LM_SURVEY_ID ,J.LANGUAGE_CD , J.LM_ATTRIB_DESCR FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_GROUP_PERSON C , PS_LM_ACT_SEC D , PS_LM_INSTR E , PS_LM_SES_INSTR F ,PS_LM_ENRLMT G , PS_LM_LC H , PS_LM_SURVEY_DEFN I ,PS_LM_SRVY_DFN_LNG J , PS_LM_LC_TYPE_TBL X1 WHERE G.LM_ACT_ID = H.LM_ACT_ID AND G.LM_ACT_ID = A.LM_ACT_ID AND H.LM_SURVEY_ID = I.LM_SURVEY_ID AND H.LM_INTERNAL = 'Y' AND A.LM_ACT_ID = B.LM_ACT_ID AND D.LM_ACT_ID = A.LM_ACT_ID AND D.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LRNR_GROUP_ID = D.LM_LRNR_GROUP_ID AND A.LM_ACT_STATUS IN ('1', '2', '3', '5') AND E.LM_PERSON_ID = C.LM_PERSON_ID AND A.LM_INSTR_ID = E.LM_PERSON_ID AND I.LM_SURVEY_ID = J.LM_SURVEY_ID AND X1.LM_BAS_LC_TYPE = '60' AND X1.LM_LC_TYPE_ID = H.LM_LC_TYPE_ID

  • Related Language Record for LM_SURVEY_I_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LM_LE_ID Number(10,0) DECIMAL(10) NOT NULL Learning Environment ID - System Generated number
    2 LM_PERSON_ID Number(15,0) DECIMAL(15) NOT NULL ELM Person ID
    3 LM_SURVEY_ID Character(10) VARCHAR2(10) NOT NULL The SURVEY_ID is the unique identifier for a Survey definition.
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 LM_ATTRIB_DESCR Character(50) VARCHAR2(50) NOT NULL Learner Attribute Description