---
title: Fetch Next Dual Value
summary: SQL-002
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Audit.Premium
reference_type: package
---

# SQL-002: Fetch Next Dual Value

This statement supports the premium-audit library by fetch Next Dual Value.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `—` | — | — | — | No bound parameters detected in source. |

## Tables

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

## Sample SQL

```sql
SELECT
  PA_EVENT_SEQ.NEXTVAL
FROM
  DUAL
```

## Operations and processes
- [Save a premium audit](../operations/save-a-premium-audit.md)
- [Audit lifecycle status transitions](../operations/audit-lifecycle-status-transitions.md)

## Business rules
- [BR-067](../business-rules.md#br-067-audit-event-code-must-be-valid)



> **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.Audit.Premium/clsAuditEvent.vb:495`
