---
title: "SQL-012: Fetch next policy period master sequence value"
summary: "Fetch next policy period master sequence value"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-012: Fetch next policy period master sequence value

Fetch next policy period master sequence value in the context of `clsPolicyPeriodMaster`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-012 |
| **Operation type** | Create (sequence) |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriodMaster` |
| **Criteria property** | `CreateSQL` |
| **Lifecycle method** | `BeforeCreate / AfterCreate` |

## Parameters

This statement has no bind parameters.

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [DUAL](../database-tables.md#dual) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  POLICY_NUM_NEXTVAL
FROM
  DUAL
```

## Operations and processes
- [Build a unified policy period timeline](../operations/build-a-unified-policy-period-timeline.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)

> **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\clsPolicyPeriodMaster.vb`
