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

# SQL-007: Criteria

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-007 |
| **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 |
| --- | --- | --- | --- | --- |
| `:WorkerID` | Input | Number | N/A | Source value `MyCriteria.WorkerID` |

## Tables

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

## Sample SQL

```sql
Delete CL_CLAIM_SUPPORT_ORDER
Where
  CL_CLAIM_SUPPORT_ORDER.WORKER_ID = :WorkerID
```

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