View lawprod.MSCM.TRAYSET_CURRENT_VW | Generated by SchemaSpy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Analyzed at Wed May 18 12:10 CDT 2011 |
View Definition:
SELECT TS."TS_ID",TS."TS_NO",TS."TS_TIME",TS."TS_TYPE",TS."TRAY_NO",TS."TL_ID",TS."ASSM_LOC_NO",TS."USER_ID",TS."CREAT_DT",TS."ASSM_DT",TS."MOD_DT",TS."TOTAL",TS."STATUS",TS."HOLD_IND",TS."ON_HOLD_COMMENT",TS."COMMENTS",TS."TRAYSET_BIN" FROM TRAYSET TS, ( SELECT TRAY_NO, MAX(TS_ID) AS TS_ID FROM TRAYSET GROUP BY TRAY_NO ) CURRENT_TS WHERE TS.TS_ID = CURRENT_TS.TS_ID
Possibly Referenced Tables/Views:
|