---
title: "SQL-013: Delete US Bank user"
summary: Delete a user row by primary key.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.EPay.USBank
reference_type: package
---

# SQL-013: Delete US Bank user

Delete a row from `US_BANK_USER` by primary key.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-013 |
| Operation type | Delete |
| Execution method | Inline SQL |
| Database | Oracle |
| Schema | Unqualified in library SQL |
| Command type | Text |
| Business object | `clsUSBankUser` |
| Criteria property | `DeleteSQL` |
| Lifecycle method | `BeforeDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:USBankUserSeqNum` | Input | Decimal | N/A | Primary key for user deletion. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_BANK_USER](../database-tables.md#us_bank_user) | DELETE | `US_BANK_USER_SEQ_NUM` |

## Sample SQL

```sql
DELETE US_BANK_USER
WHERE US_BANK_USER.US_BANK_USER_SEQ_NUM = :USBankUserSeqNum
```

## Operations and processes
- [Persist and retrieve SAIF-side integration records](../operations/saif-side-user-and-notice-persistence.md)

## Business rules
- [BR-005: User deletes must affect exactly one row](../business-rules.md#br-005-user-deletes-must-affect-exactly-one-row)

## Sources
- `Business\SAIF.Business.EPay.USBank\clsUSBankUser.vb`

