LM_SURVEY_A_VW(SQL View) |
Index Back |
---|---|
Survey look up viewView for selecting the Survey which have a Survey LC of type Internal |
SELECT DISTINCT B.LM_LE_ID , I.LM_SURVEY_ID , I.LM_ATTRIB_DESCR FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_PERSON_ADMIN C , PS_LM_ENRLMT G , PS_LM_LC H , PS_LM_SURVEY_DEFN I , 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 C.LM_LE_ID = B.LM_LE_ID AND A.LM_ACT_STATUS IN ('1', '2', '3', '5') AND X1.LM_BAS_LC_TYPE = '60' AND X1.LM_LC_TYPE_ID = H.LM_LC_TYPE_ID AND C.LM_PRIMARY = 'Y' |
# | 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_SURVEY_ID | Character(10) | VARCHAR2(10) NOT NULL | The SURVEY_ID is the unique identifier for a Survey definition. |
3 | LM_ATTRIB_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Learner Attribute Description |