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

# SQL-128: Update insurance carrier

Update insurance carrier in the context of `clsInsuranceCarrier`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-128 |
| **Operation type** | Update |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsInsuranceCarrier` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate / AfterUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CarrierCode` | Input | bound from `m_CarrierCode` | 5 | Bound in `clsInsuranceCarrier.BeforeUpdate` (line 674) |
| `:EffDate` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:ExpDate` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:CarrierShortName` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:CarrierName` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | - | Bound in `clsInsuranceCarrier.BeforeUpdate` (line 673) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsInsuranceCarrier.BeforeUpdate` (line 663) |
| `:CarrierGroupCode` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |

## Tables

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

## Sample SQL

```sql
UPDATE
  CARRIER_CODE
SET
  CARRIER_CODE = :CarrierCode,
  EFF_DATE = :EffDate,
  EXP_DATE = :ExpDate,
  CARRIER_SHORT_NAME = :CarrierShortName,
  CARRIER_NAME = :CarrierName,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser,
  CARRIER_GROUP_CODE = :CarrierGroupCode
WHERE
```

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