---
title: SQL-030: US_AUDIT_CONDITION delete by edit type
summary: US_AUDIT_CONDITION delete by edit type used by clsAuditConditionCollection.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.UnitStat
reference_type: package
---

# SQL-030: US_AUDIT_CONDITION delete by edit type

This SQL statement implements the `US_AUDIT_CONDITION delete by edit type` data-access path for `clsAuditConditionCollection` in `SAIF.Business.UnitStat`. It participates in the `delete` lifecycle handled by `DeleteAllAuditsByType`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-030 |
| **Operation type** | Delete |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditConditionCollection` |
| **Criteria property** | `N/A (direct helper SQL)` |
| **Lifecycle method** | `DeleteAllAuditsByType` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:EditTypeCode` | Input | String | 5 | Audit classification code such as policy, exposure, or claim. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_AUDIT_CONDITION](../database-tables.md#us-audit-condition) | DELETE | See sample SQL |

## Sample SQL

```sql

DELETE us_audit_condition

WHERE edit_type_code = :EditTypeCode

```

## Operations and processes

- [Audit condition maintenance](../operations/audit-condition-maintenance.md)

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

## Sources

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