View shrdb.LAWFS.EFSDEVICESVIEW | Generated by SchemaSpy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Analyzed at Thu Dec 13 15:47 CST 2012 |
View Definition:
SELECT EFSDOCUMENTS.DOCID,
EFSDOCUMENTS.OWNERID, EFSDELIVERYUSERS.OWNER_NAME,
EFSDOCUMENTS.DOCNAME, EFSDOCUMENTS.DOCDESCRIPT,
0 ISDELETED,
EFSDEVICES.ADDRESS, EFSDEVICES.STATUS, EFSDEVICES.ISLOGICAL,
EFSDEVICES.DEVICETYPE, EFSDEVICETYPESVIEW.DOCNAME DEVICETYPE_NAME,
EFSDEVICETYPESVIEW.MEDIUM, EFSDEVICETYPESVIEW.ISDELETED DEVICETYPE_DELETED,
EFSDEVICES.NEXTDEVICE NEXTDEVICE_ID, NEXTDEVICE.DOCNAME NEXTDEVICE
FROM EFSDELIVERYUSERS,
EFSDEVICES
LEFT OUTER JOIN EFSDOCUMENTS
ON EFSDOCUMENTS.DOCID = EFSDEVICES.DOCID
LEFT OUTER JOIN EFSDEVICETYPESVIEW
ON EFSDEVICES.DEVICETYPE = EFSDEVICETYPESVIEW.DOCID
LEFT OUTER JOIN EFSDOCUMENTS NEXTDEVICE
ON ( (NEXTDEVICE.OWNERID = EFSDOCUMENTS.OWNERID)
AND (NEXTDEVICE.DOCTYPE = 2)
AND (NEXTDEVICE.DOCID = EFSDEVICES.NEXTDEVICE))
WHERE ( EFSDOCUMENTS.DOCTYPE = 2 ) AND ( EFSDOCUMENTS.OWNERID = EFSDELIVERYUSERS.OWNERID )
Possibly Referenced Tables/Views:
|