﻿---
title: "SQL-122: Fetch next class coverage key"
summary: Fetch next class coverage key
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-122: Fetch next class coverage key

Fetch next class coverage key in the context of `clsClassCoverage`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-122 |
| **Operation type** | Read |
| **Execution method** | Scalar (Text) |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified]** |
| **Business object** | N/A (Application layer) |
| **Criteria property** | `GetClassCoverageSeqSql` |
| **Lifecycle method** | Application-layer method: GetClassCoverageSeqSql |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| None | — | — | — | No parameters. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| N/A | Sequence / procedure | Sequence lookup prior to insert; no base table is queried directly. |

## Sample SQL

```sql
SELECT CLASS_COVERAGE_SEQ.NEXTVAL@POLDB FROM dual
```


> **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.Premium/clsClassCoverage.vb`
