Skip to content

SQL-016: Coverage gap retrieval

clsPolicyData uses this call to list the periods during which a policy had no coverage in force. The procedure derives gaps from adjacent period boundaries and unions any explicitly recorded gaps.

Classification

Field Value
SQL ID SQL-016
Operation type Read
Execution method Stored procedure
Database Oracle
Schema [unqualified]**
Command type StoredProcedure
Business object clsPolicyData
Criteria property N/A (ad hoc, literal SQLStatement)
Lifecycle method Gaps property getter

Parameters

Parameter Direction Type Max length Description
:aPolicyNum Input Decimal not specified Policy number whose coverage gaps are requested.
recordset Output (Cursor) REF CURSOR N/A Result set of gap begin and end date pairs.

Tables

No table is referenced directly in the .NET source. The tables read by the procedure body reside in the Oracle database and are described under pk72846_view_policy.

Sample SQL

-- Stored procedure call (procedure body resides in the Oracle database - WCIS_DBA.pk72846_view_policy)
CALL pk72846_view_policy.getgaps(
  aPolicyNum => :aPolicyNum,
  recordset  => :recordset)  -- REF CURSOR output

Operations and processes

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business/SAIF.Business.View.Policy/clsPolicyData.vb