SC Child Resistant Closure/Container (CRC) Category SQL Functions

CASCO_SC_CRC

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

 

Return Value:

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

CASCO_SC_Any_CRC

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

 

Return Value:

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

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