LM_RTG_VAL_LVW(SQL View) |
Index Back |
---|---|
Ratings Values Desc Rel LangThis view will select the description of the ratings values. This is the Ratings Values Related Language table. |
SELECT H.HCSC_RTG_CD , H.HCSC_RTG_RATING , HLNG.LANGUAGE_CD , HLNG.HCSC_RTG_DESCR FROM PS_HCSC_RTG_VALUES H , PS_HCSC_RTG_VAL_LG HLNG WHERE H.HCSC_RTG_CD = HLNG.HCSC_RTG_CD AND H.EFFDT = HLNG.EFFDT AND H.HCSC_RTG_RATING = HLNG.HCSC_RTG_RATING AND H.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_HCSC_RTG_VALUES X WHERE X.HCSC_RTG_CD = H.HCSC_RTG_CD AND X.HCSC_RTG_RATING = H.HCSC_RTG_RATING AND X.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | HCSC_RTG_CD | Character(30) | VARCHAR2(30) NOT NULL | Ratings Identification |
2 | HCSC_RTG_RATING | Number(3,0) | SMALLINT NOT NULL | Ratings value |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | HCSC_RTG_DESCR | Character(254) | VARCHAR2(254) NOT NULL | Ratings Description |