---
title: "SQL-013: Retrieve auditor zip codes"
summary: Retrieves all auditor-to-zip-code rows from PA_AUDITOR_ZIP_CODE.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.External.Users
reference_type: package
---

# SQL-013: Retrieve auditor zip codes

Retrieves all rows from `PA_AUDITOR_ZIP_CODE` with no filter parameters, loading the full collection of auditor geographic assignments.

## Classification

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

## Parameters

This statement has no bind parameters.

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PA_AUDITOR_ZIP_CODE](../database-tables.md#pa_auditor_zip_code) | SELECT | `PA_AUDITOR_ID`, `ZIP_CODE` |

## Sample SQL

```sql
SELECT
    PA_AUDITOR_ZIP_CODE.PA_AUDITOR_ID AS PAAuditorID,
    PA_AUDITOR_ZIP_CODE.ZIP_CODE AS ZipCode
FROM PA_AUDITOR_ZIP_CODE
```

## Operations and processes
- [Auditor assignment / override](../operations/auditor-assignment-override.md)

> **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.External.Users\clsAuditorZipCodeCollection.vb`
