---
title: "SQL-001: Criteria"
summary: Sequence statement for Criteria.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Payment
reference_type: package
---

# SQL-001: Criteria

This statement supports `Criteria` by executing a Sequence operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-001 |
| **Operation type** | Sequence |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `Criteria` |
| **Criteria property** | `CreateSQL` |
| **Lifecycle method** | `BeforeCreate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `—` | — | — | — | No explicit bind parameters were found in the matched caller. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [DUAL](../database-tables.md#dual) | Sequence | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
SELECT BENEFIT_PAYEE_SEQ.NEXTVAL FROM DUAL
```

## Operations and processes

- [Criteria identity/sequence generation](../operations/payee-management.md)

> **Note:** Statements marked with `**` could not be confirmed; treat them as unknown until verified.

## Sources

- `Business/SAIF.Business.Claim.Payment/Payees/clsPayeeBase.vb`
