---
title: "SQL-083: Retrieve policy period"
summary: "Retrieve policy period"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-083: Retrieve policy period

Retrieve policy period in the context of `clsPolicyPeriod`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-083 |
| **Operation type** | Read |
| **Execution method** | CommandType.StoredProcedure |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriod` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

This statement has no bind parameters.

## Tables

This statement executes as a stored procedure call and does not expose table references in repository source.**

## Sample SQL

```sql
> **Composed at runtime.** This property builds its statement conditionally. The block
> below shows every literal fragment in source order, so mutually exclusive branches
> appear consecutively - no single execution emits all of them. See the *Dynamic SQL*
> note in *Scope and evidence notes* for the branch conditions.
-- Stored-procedure invocation; no standalone SQL text in source.
WHERE
  POLICY_PERIOD.POLICY_NUM = :PolicyNumber
  AND POLICY_PERIOD.POLICY_PERIOD_EFF_DATE <= :AsOfDate
  AND POLICY_PERIOD.POLICY_PERIOD_EXP_DATE > :AsOfDate
  AND NVL(POLICY_PERIOD.CANCEL_DATE,POLICY_PERIOD_EXP_DATE) <> POLICY_PERIOD.POLICY_PERIOD_EFF_DATE
  AND POLICY_PERIOD.POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffDate
```

## Operations and processes
- [Build a unified policy period timeline](../operations/build-a-unified-policy-period-timeline.md)
- [Configure dynamic period retrieval SQL](../operations/configure-dynamic-period-retrieval-sql.md)
- [Determine standard premium for a period](../operations/determine-standard-premium-for-a-period.md)
- [Determine whether a period is issued](../operations/determine-whether-a-period-is-issued.md)
- [Determine whether coverage is bound](../operations/determine-whether-coverage-is-bound.md)

## Business rules
- [BR-010: A policy's period history is the union of](../business-rules.md#br-010-a-policys-period-history-is-the-union-of)
- [BR-013: Standard premium is sourced from WCIS for WCIS](../business-rules.md#br-013-standard-premium-is-sourced-from-wcis-for-wcis)
- [BR-014: A modern policy period is considered issued when](../business-rules.md#br-014-a-modern-policy-period-is-considered-issued-when)
- [BR-016: Coverage-bound status is sourced from WCIS for modern](../business-rules.md#br-016-coverage-bound-status-is-sourced-from-wcis-for-modern)
- [BR-031: A policy period is flat-cancelled when its effective](../business-rules.md#br-031-a-policy-period-is-flat-cancelled-when-its-effective)
- [BR-032: Preliminary audit is required when the WCIS edit](../business-rules.md#br-032-preliminary-audit-is-required-when-the-wcis-edit)

> **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.Policy.Core\clsPolicyPeriod.vb`
