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

# SQL-005: Fetch next losscontrolpolicyserviceplan

Fetch next losscontrolpolicyserviceplan in the context of `clsLossControlPolicyServicePlan`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-005 |
| **Operation type** | Sequence |
| **Execution method** | Scalar (Text) |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified]** |
| **Business object** | `clsLossControlPolicyServicePlan` |
| **Criteria property** | `CreateSQL` |
| **Lifecycle method** | BeforeInsert (key generation) |

## Parameters

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

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| N/A | Sequence / procedure | No direct table row in this library. |

## Sample SQL

```sql
SELECT POLICY_NUM_NEXTVAL 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/clsLossControlPolicyServicePlan.vb`
