---
title: "SQL-008: Criteria"
summary: Delete statement for Criteria.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.SupportOrder
reference_type: package
---

# SQL-008: Criteria

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-008 |
| **Operation type** | Delete |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | ``Criteria`` |
| **Criteria property** | ``deletesql`` |
| **Lifecycle method** | ``Criteria delete`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Number | N/A | Source value `ClaimID` |
| `:SupportOrderID` | Input | Number | N/A | Source value `SupportOrderID` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_SUPPORT_ORDER_CONN](../database-tables.md#cl-claim-support-order-conn) | DELETE | See sample SQL. |

## Sample SQL

```sql
Delete CL_CLAIM_SUPPORT_ORDER_CONN
Where
  CL_CLAIM_SUPPORT_ORDER_CONN.CLAIM_ID = :ClaimID
```

## Sources
- `Business\SAIF.Business.Claim.SupportOrder\clsClaimSupportOrderConnection.vb`
