QS_SGRP_SM_VW(SQL View) |
Index Back |
---|---|
Subgroup table - summary viewFetch subgroup rows where status = 'ANLZ' (analyzed). |
SELECT A.BUSINESS_UNIT , A.STREAM_ID , A.SESSN_ID , A.SESSN_SGRP_SEQ , A.SESSN_SUBMIT_DTTM , A.SESSN_STRM_STS , A.QS_SUBGROUP_STATUS , A.QS_ALARM_CNT , A.QS_ACTION_CNT , A.QS_CAUSE_CNT , A.QS_COMM_CNT , A.SRSLT_P1 , A.SRSLT_P1_IND , A.SRSLT_P2 , A.SRSLT_P2_IND , A.SESSN_SGRP_SIZE , A.OPERATOR , C.QS_ATTRIB_SET_ID , A.CLIM_ID , D.MFDS_NAME FROM PS_QS_SUBGROUP A , PS_QS_STREAM8 B , PS_QS_STREAM_ROOT C , PS_QS_MFDS_MST D WHERE (A.SESSN_STRM_STS = 'ANLZ' AND A.QS_SUBGROUP_STATUS >=0) AND B.STREAM_ID = A.STREAM_ID AND C.STREAM_ROOT_ID = B.STREAM_ROOT_ID AND D.MFDS_ID = B.MFDS_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | STREAM_ID | Number(8,0) | INTEGER NOT NULL | Stream ID- hierarchial structure plus characteristic. (or Stream Root ID plus characteristic). |
3 | SESSN_ID | Character(30) | VARCHAR2(30) NOT NULL | Session ID |
4 | SESSN_SGRP_SEQ | Number(6,0) | INTEGER NOT NULL | Subgroup ID |
5 | SESSN_SUBMIT_DTTM | DateTime(26) | TIMESTAMP | Date Submitted |
6 | SESSN_STRM_STS | Character(4) | VARCHAR2(4) NOT NULL | Session Stream Status |
7 | QS_SUBGROUP_STATUS | Signed Number(6,0) | DECIMAL(5) NOT NULL | Status |
8 | QS_ALARM_CNT | Signed Number(4,0) | DECIMAL(3) NOT NULL | # control test violations occuring for a single subgroup |
9 | QS_ACTION_CNT | Number(3,0) | SMALLINT NOT NULL | Corrective Actions |
10 | QS_CAUSE_CNT | Number(3,0) | SMALLINT NOT NULL | Pobable Causes |
11 | QS_COMM_CNT | Number(2,0) | SMALLINT NOT NULL | Comments |
12 | SRSLT_P1 | Signed Number(14,5) | DECIMAL(12,5) NOT NULL | Chart 1 Result |
13 | SRSLT_P1_IND | Character(1) | VARCHAR2(1) NOT NULL | |
14 | SRSLT_P2 | Signed Number(14,5) | DECIMAL(12,5) NOT NULL | Chart 2 Result |
15 | SRSLT_P2_IND | Character(1) | VARCHAR2(1) NOT NULL | |
16 | SESSN_SGRP_SIZE | Number(13,5) | DECIMAL(12,5) NOT NULL | Subgroup Size |
17 | OPERATOR | Character(30) | VARCHAR2(30) NOT NULL | User ID |
18 | QS_ATTRIB_SET_ID | Number(5,0) | INTEGER NOT NULL | Attribute set ident |
19 | CLIM_ID | Character(30) | VARCHAR2(30) NOT NULL | Object used for Contorl Limits storage,calculation, and/or display |
20 | MFDS_NAME | Character(30) | VARCHAR2(30) NOT NULL | Characteristic |