---
title: "SQL-006: Fetch policy-period group-association sequence token"
summary: Fetch policy-period group-association sequence token using a placeholder token
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Group
reference_type: package
---

# SQL-006: Fetch policy-period group-association sequence token

`SQL-006` fetch policy-period group-association sequence token in support of `clsPolicyPeriodGroupAssociation`. The sequence token shown in the SQL text is a placeholder rather than executable Oracle `NEXTVAL` syntax, so the real sequence name is unknown.**

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-006 |
| **Operation type** | Sequence |
| **Execution method** | Inline SQL via BOF data portal |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriodGroupAssociation` |
| **Criteria property** | `CreateSQL` |
| **Lifecycle method** | `BeforeCreate` / `AfterCreate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| None | N/A | N/A | N/A | This statement has no bind parameters. |

## Tables

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

## Sample SQL

```sql
SELECT POLICY_NUM_NEXTVAL
FROM DUAL
```

## Operations and processes
- [Link a policy period to a group](../operations/link-policy-period-to-group.md)

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