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

# SQL-002: Criteria

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-002 |
| **Operation type** | Create |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | ``Criteria`` |
| **Criteria property** | ``insertsql`` |
| **Lifecycle method** | ``Criteria create`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Number | N/A | Source value `ClaimID` |
| `:UpdateUser` | Input | Date | 30 | Source value `UpdateUser` |
| `: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) | CREATE | See sample SQL. |

## Sample SQL

```sql
Insert into CL_CLAIM_SUPPORT_ORDER_CONN (
  CLAIM_ID,
  SUPPORT_ORDER_ID,
  UPDATE_DATE,
  UPDATE_USER
)
Values (
  :ClaimID,
  :SupportOrderID,
  SYSDATE,
  :UpdateUser
)
```

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