---
title: "SQL-060: Retrieve insurance carrier"
summary: "Retrieve insurance carrier"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-060: Retrieve insurance carrier

Retrieve insurance carrier in the context of `clsInsuranceCarrier`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-060 |
| **Operation type** | Read |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsInsuranceCarrier` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:Code` | Input | bound from `MyCriteria.Code` | 5 | Bound in `clsInsuranceCarrier.BeforeRetrieve` (line 330) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CARRIER_CODE](../database-tables.md#carrier_code) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  CARRIER_CODE.CARRIER_CODE as Code,
  CARRIER_CODE.EFF_DATE as EffectiveDate,
  CARRIER_CODE.EXP_DATE as ExpirationDate,
  CARRIER_CODE.CARRIER_SHORT_NAME as CarrierShortName,
  CARRIER_CODE.CARRIER_NAME as CarrierName,
  CARRIER_CODE.UPDATE_DATE as UpdateDate,
  CARRIER_CODE.UPDATE_USER as UpdateUser,
  CARRIER_CODE.CARRIER_GROUP_CODE as CarrierGroupCode
FROM
  CARRIER_CODE
WHERE
  carrier_code = :Code
```

## Business rules
- [BR-029: SAIF's own carrier identity is represented by fixed](../business-rules.md#br-029-saifs-own-carrier-identity-is-represented-by-fixed)
- [BR-033: New sequence values for writable entities are obtained](../business-rules.md#br-033-new-sequence-values-for-writable-entities-are-obtained)

> **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.Policy.Core\clsInsuranceCarrier.vb`
