---
title: "SQL-083: clsCustomerAddressCollection"
summary: Delete statement for clsCustomerAddressCollection.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-083: clsCustomerAddressCollection

This statement supports `clsCustomerAddressCollection` by executing a delete operation against COMPANY_ADDRESS.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-083 |
| Operation type | Delete |
| Execution method | Inline |
| Database | Oracle |
| Schema | `[unqualified]**` |
| Command type | Text |
| Business object | `clsCustomerAddressCollection` |
| Criteria property | DeleteSQL |
| Lifecycle method | BeforeDelete |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AddressID` | Input | Decimal | N/A | Address primary key |
| `:CustomerID` | Input | Decimal | N/A | Customer primary key |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [COMPANY_ADDRESS](../database-tables.md#company-address) | DELETE | ADDRESS_SEQ_NUM, COMPANY_SEQ_NUM |

## Sample SQL

```sql
Delete COMPANY_ADDRESS Where COMPANY_ADDRESS.COMPANY_SEQ_NUM = :CustomerID AND COMPANY_ADDRESS.ADDRESS_SEQ_NUM = :AddressID
```

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

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

## Sources
- `Business\SAIF.Business.CustomerContact\Customer\clsCustomerAddressCollection.vb`
