---
title: SQL-034: US_CLAIM_UNIT delete
summary: US_CLAIM_UNIT delete used by clsClaimUnit.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.UnitStat
reference_type: package
---

# SQL-034: US_CLAIM_UNIT delete

This SQL statement implements the `US_CLAIM_UNIT delete` data-access path for `clsClaimUnit` in `SAIF.Business.UnitStat`. It participates in the `delete` lifecycle handled by `BeforeDelete`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-034 |
| **Operation type** | Delete |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsClaimUnit` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Decimal/SmartDecimal | N/A | Claim identifier bound from the business object or criteria. |
| `:PolicyUnitSeqNum` | Input | Decimal/SmartDecimal | N/A | Policy unit primary key / parent foreign key. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_CLAIM_UNIT](../database-tables.md#us-claim-unit) | DELETE | See sample SQL |

## Sample SQL

```sql

Delete US_CLAIM_UNIT

Where US_CLAIM_UNIT.US_POLICY_UNIT_SEQ_NUM = :PolicyUnitSeqNum

  and US_CLAIM_UNIT.CLAIM_ID = :ClaimID

```

## Operations and processes

- [Claim unit maintenance](../operations/claim-unit-maintenance.md)

## Business rules

- [BR-US-020: Database contention on update or delete is detected by checking RowsAffected <> 1](../business-rules.md#br-us-020-database-contention-on-update-or-delete-is-detected-by-checking-rowsaffected-1)

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

## Sources

- `Business\SAIF.Business.UnitStat\clsClaimUnit.vb`
