---
title: "SQL-025: Read operation"
summary: SQL-025 documentation for SAIF.Business.Claim.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim
reference_type: package
---

# SQL-025: Read operation

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-025 |
| **Operation type** | Read |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `Criteria` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

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

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_AWARD](../database-tables.md#cl_award) | READ | A, AND, AWARD_STATUS_CODE, C, CLAIM_ID, CL_AWARD, F, ID, N, S, SAIFA, SAIF_AWARD_NUM |

## Sample SQL

```sql
Select CL_AWARD.SAIF_AWARD_NUM as SAIFAwardNumber, CL_AWARD.UPDATE_NUM as UpdateNum 
FROM CL_AWARD 
WHERE CL_AWARD.CLAIM_ID = :ClaimID 
  AND CL_AWARD.AWARD_STATUS_CODE = 'A'
```

> **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`
