PTADSVLDINST_VW

(SQL View)
Index Back

SELECT PTSESSIONID , PTADSNAME , PTADSCONTENTID , PROJECTNAME , COMPARETYPE , PTKEYHASH , MAX(CASE WHEN PTADSMSGSEVERITY = 'E' THEN PTADSMESSAGECOUNT ELSE 0 END) AS PTADSMSGCOUNT_E , MAX(CASE WHEN PTADSMSGSEVERITY = 'M' THEN PTADSMESSAGECOUNT ELSE 0 END) AS PTADSMSGCOUNT_I , MAX(CASE WHEN PTADSMSGSEVERITY = 'W' THEN PTADSMESSAGECOUNT ELSE 0 END) AS PTADSMSGCOUNT_W FROM PSADSVALINSTST GROUP BY PTSESSIONID , PTADSNAME , PTADSCONTENTID , PROJECTNAME , COMPARETYPE , PTKEYHASH

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PTSESSIONID Character(36) VARCHAR2(36) NOT NULL Compare Session Id
2 PTADSNAME Character(30) VARCHAR2(30) NOT NULL Data Set Name (see PSADSDEFN).
3 PTADSCONTENTID Number(6,0) INTEGER NOT NULL ADS Content Identifier
4 PROJECTNAME Character(30) VARCHAR2(30) NOT NULL Project Name (see PSPROJECTDEFN).
5 COMPARETYPE Number(5,0) INTEGER NOT NULL Compare Type
6 PTKEYHASH Character(28) VARCHAR2(28) NOT NULL
7 PTADSMSGCOUNT_E Number(10,0) DECIMAL(10) NOT NULL Error Messages

Default Value: 0

8 PTADSMSGCOUNT_I Number(10,0) DECIMAL(10) NOT NULL Informational Messages

Default Value: 0

9 PTADSMSGCOUNT_W Number(10,0) DECIMAL(10) NOT NULL Warning Messages

Default Value: 0