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

# SQL-029: Insert insurance carrier

Insert insurance carrier in the context of `clsInsuranceCarrier`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-029 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsInsuranceCarrier` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CarrierCode` | Input | bound from `CarrierCode` | 5 | Bound in `clsInsuranceCarrier.BeforeInsert` (line 187) |
| `: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.BeforeInsert` (line 589) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsInsuranceCarrier.BeforeInsert` (line 579) |
| `: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) | INSERT | See sample SQL |

## Sample SQL

```sql
INSERT INTO
  CARRIER_CODE
  (
    CARRIER_CODE,
    EFF_DATE,
    EXP_DATE,
    CARRIER_SHORT_NAME,
    CARRIER_NAME,
    UPDATE_DATE,
    UPDATE_USER,
    CARRIER_GROUP_CODE
  )
VALUES
  (
    :CarrierCode,
    :EffDate,
    :ExpDate,
    :CarrierShortName,
    :CarrierName,
    :UpdateDate,
    :UpdateUser,
    :CarrierGroupCode
  )
```

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