---
title: "SQL-003: ENROLL_REQUEST_SEQ sequence"
summary: Generates the next ENROLL_REQUEST_SEQ_NUM for clsDebitCardEnrollmentRequest.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-003: ENROLL_REQUEST_SEQ sequence

Generates the next ENROLL_REQUEST_SEQ_NUM for clsDebitCardEnrollmentRequest. This sequence value is generated before the corresponding INSERT operation to obtain the primary key.

## Classification

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


## Parameters

This statement has no input parameters.

## Tables

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

## Sample SQL

```sql
SELECT ENROLL_REQUEST_SEQ.NEXTVAL FROM DUAL
```

## Operations and processes
- [Debit card enrollment](../operations/debit-card-enrollment.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.Payment.EFT\clsDebitCardEnrollmentRequest.vb`
