---
title: "SQL-037: Criteria"
summary: Update statement for Criteria.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim
reference_type: package
---

# SQL-037: Criteria

This document records the SQL used by `Criteria` in `SAIF.Business.Claim`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-037 |
| **Operation type** | Update |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `Criteria` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |
| `:SAIFAwardNumber` | Input | Number | N/A | Binds SAIFAwardNumber from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_AWARD](../database-tables.md#cl_award) | UPDATE | AWARD_STATUS_CODE, CL_AWARD, N, P, S, SAIFA, SAIF_AWARD_NUM, SYSDATE, U, UPDATE_DATE, UPDATE_NUM, UPDATE_USER |

## Sample SQL

```sql
Update CL_AWARD 
SET AWARD_STATUS_CODE = 'P', UPDATE_DATE = SYSDATE, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_USER = :UpdateUser 
WHERE CL_AWARD.SAIF_AWARD_NUM = :SAIFAwardNumber
```

> **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\clsSetAwardPaymentPending.vb`
