SC Vapor Category SQL Functions

CASCO_SC_Vapor

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

 

Return Value:

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

CASCO_SC_Any_Vapor

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

 

Return Value:

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

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