View lawprod.MSCM.ASSEMBLY_DECONTAM_VW Generated by
SchemaSpy
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
TRAY_NO varchar2 5
TRAY.TRAY_NO Implied Constraint R
TS_NO varchar2 10
TRAYSET.TS_NO Implied Constraint R
TL_NO varchar2 6
TL_DESCR varchar2 100
CREAT_DT date 7  √  null
ASSM_DT date 7
TOTAL number 22
STATUS number 22
ACTIVITY number 22
USER_ID number 22
USERS.USER_ID Implied Constraint R
ASM_LOC_NO number 22
NO_EXP number 22  √  null

Analyzed at Wed May 18 12:10 CDT 2011

View Definition:
SELECT TRAYSET.TRAY_NO, ASSEMBLY.TS_NO, TRAY_LIST.TL_NO, TRAY_LIST.DESCR AS TL_DESCR, TRAYSET.CREAT_DT, ASSEMBLY.ASM_TIME AS ASSM_DT, TRAYSET.TOTAL, TRAYSET.STATUS, ASSEMBLY.ACTIVITY, ASSEMBLY.USER_ID, ASSEMBLY.ASM_LOC_NO, NVL(( SELECT COUNT(EX_NO) FROM TS_ITEM_EXCEPTION WHERE TS_ID = TRAYSET.TS_ID ), 0) AS NO_EXP FROM TRAYSET, ASSEMBLY, TRAY_LIST WHERE TRAYSET.TS_NO = ASSEMBLY.TS_NO AND TRAYSET.TL_ID = TRAY_LIST.TL_ID AND ASSEMBLY.ACTIVITY IN (6,11) AND ASSEMBLY.ASM_ID = ( SELECT MIN(A2.ASM_ID) FROM ASSEMBLY A2 WHERE A2.TS_NO = ASSEMBLY.TS_NO AND A2.ACTIVITY = ASSEMBLY.ACTIVITY )
 
Possibly Referenced Tables/Views:


Close relationships: