Database SQL Operation: CaseEvidenceGroupLink.readGroupIDByTreeAndType
Description: | Reads caseEvidenceGroupID using the caseEvidenceTreeID and evidenceType. |
Sterotype: | ns |
SELECT
DISTINCT(CaseEvidenceGroupLink.caseEvidenceGroupID)
INTO
:caseEvidenceGroupID
FROM
CaseEvidenceGroup,
CaseEvidenceGroupLink
WHERE CaseEvidenceGroup.caseEvidenceTreeID = :caseEvidenceTreeID
AND CaseEvidenceGroupLink.caseEvidenceGroupID = CaseEvidenceGroup.caseEvidenceGroupID
AND CaseEvidenceGroupLink.evidenceType = :evidenceType
|