---
title: "SQL-021: clsClaimPersonName"
summary: Delete statement for clsClaimPersonName.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Person
reference_type: package
---

# SQL-021: clsClaimPersonName

This SQL artifact supports `clsClaimPersonName` by executing a delete operation through Inline.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PersonID` | Input | Unknown | N/A | Passed from clsClaimPersonName via BeforeDelete. |
| `:PrimaryKeySubNum` | Input | Unknown | N/A | Passed from clsClaimPersonName via BeforeDelete. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_PERSON_NAME_HISTORY](../database-tables.md#cl-claim-person-name-history) | Delete | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
DELETE CL_CLAIM_PERSON_NAME_HISTORY
WHERE
  CL_CLAIM_PERSON_NAME_HISTORY.PERSON_ID = :PersonID
  AND CL_CLAIM_PERSON_NAME_HISTORY.PRIMARY_KEY_SUB_NUM = :PrimaryKeySubNum
```

> **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.Claim.Person\clsClaimPersonName.vb`
