SPR_CONLO_VW

(SQL View)
Index Back

sPro Length of Stay by Dept

sPro Length of Stay by Department Summary View

SELECT DISTINCT A.OPRID ,A.BUSINESS_UNIT ,A.DEPTID ,B.DESCR ,A.LENGTH_OF_STAY ,A.EX_DURATION_DAYS ,A.WORK_ORDER_ID FROM PS_SPR_LOSTAY_FACT A ,PS_SPR_DEPT_DIM B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DEPTID = B.DEPTID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
4 SP_DEPT_DESCR Character(30) VARCHAR2(30) NOT NULL Department Description
5 LENGTH_OF_STAY Number(5,0) INTEGER NOT NULL Length of Stay in Days
6 EX_DURATION_DAYS Signed Number(6,0) DECIMAL(5) NOT NULL Excess Duration for Length of Stay
7 WORK_ORDER_ID Character(15) VARCHAR2(15) NOT NULL Work Order ID