qds.fnGetChkItemStateCount
Description
Returns how many times a specific state was recorded for a checklist event.Syntax
qds.fnGetChkItemStateCount(@chkShtEventId, @chkStateId)Parameters:
Returns:
Code Example
SELECT qds.fnGetChkItemStateCount(
  2048, 
  3
) AS item_state_count;