OSHA_301_SRCH(SQL View) |
Index Back |
---|---|
Search Record for OSHA 301 |
SELECT B.INCIDENT_NBR ,A.EMPLID ,A.CASE_NBR_USA ,C.NAME ,A.DT_FILED_USA ,B.INCIDENT_TIME ,A.HOSPITAL_SW ,a.comments FROM PS_INJURY_ILL A ,PS_INCIDENT_DATA B ,PS_PERSONAL_DATA C WHERE A.INCIDENT_NBR = B.INCIDENT_NBR AND A.CASE_NBR_USA <> ' ' AND A.EMPLID = C.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INCIDENT_NBR | Character(8) | VARCHAR2(8) NOT NULL | Incident Number |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | CASE_NBR_USA | Character(5) | VARCHAR2(5) NOT NULL | Case Number |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | DT_FILED_USA | Date(10) | DATE | Date Filed |
6 | INCIDENT_TIME | Time(15) | TIMESTAMP | Incident Time |
7 | HOSPITAL_IN_PT | Character(1) | VARCHAR2(1) NOT NULL | Patient Hospitalized Overnight |
8 | COMMENTS | Long Character | CLOB | Comment |