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

# SQL-001: Read operation

This document records the SQL used by `clsBillAuditor` in `SAIF.Business.Claim.Bill.AutomatedAudit`.

## Classification

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

## Parameters

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

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CBP_DRG_CODE](../database-tables.md#cbp_drg_code) | READ | C, _ |

## Sample SQL

```sql
select count(*) 
FROM cbp_drg_code 
WHERE code = :Code
```

> **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.Bill.AutomatedAudit\AuditUtilities\clsBillAuditor.vb`
