---
title: "SQL-005: Insert PERSON_EMAIL for `clsContactEmailCollection`"
summary: Insert statement for `clsContactEmailCollection` against PERSON_EMAIL.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-005: Insert PERSON_EMAIL for `clsContactEmailCollection`

This statement supports `clsContactEmailCollection` by executing a create operation against PERSON_EMAIL.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-005 |
| Operation type | Create |
| Execution method | Inline |
| Database | Oracle |
| Schema | `[unqualified]**` |
| Command type | Text |
| Business object | `clsContactEmailCollection` |
| Criteria property | InsertSQL |
| Lifecycle method | BeforeInsert |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ContactID` | Input | Decimal | N/A | Contact primary key |
| `:EmailAddressID` | Input | Decimal | N/A | Email address primary key |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PERSON_EMAIL](../database-tables.md#person-email) | INSERT | EMAIL_ADDRESS_SEQ_NUM, PERSON_SEQ_NUM |

## Sample SQL

```sql
Insert into Person_Email ( Person_SEQ_NUM, Email_Address_SEQ_NUM ) Values ( :ContactID, :EmailAddressID)
```

## Operations and processes
- [Email info CRUD and linking](../operations/email-info-crud-and-linking.md)

> **Note:** Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.CustomerContact\Contact\clsContactEmailCollection.vb`
