SC Miscellaneous Category SQL Functions

CASCO_SC_Misc

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

 

Return Value:

Returns a text list of all miscellaneous 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_Misc(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode, ', ')) AS SC_Misc

CASCO_SC_Any_Misc

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

 

Return Value:

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

Returns a value of 0 if no miscellaneous 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_Misc(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode)) AS SC_Any_Misc