SC Access Category SQL Functions

CASCO_SC_Access

Display the name of all selected access scenarios for the case.

 

Return Value:

Returns a text list of all access scenarios.

Parameters:

CaseNumber, CenterCode, YearCode: Uniquely Identifies the case for which the information should be returned

Delimiter: Characters to display for each separate value.

Example:                              

(dbo.CASCO_SC_Access(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode, ', ')) AS SC_Access

CASCO_SC_Any_Access

Determine if any access scenarios have been selected for the case.

 

Return Value:

Returns a value of 1 if any access scenario is selected.

Returns a value of 0 if no access scenarios are selected.

Parameters:

CaseNumber, CenterCode, YearCode: Uniquely Identifies the case for which the information should be returned

Delimiter: Characters to display for each separate value.

Example:                  

(dbo.CASCO_SC_Any_Access(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode)) AS SC_Any_Access