---
title: "SQL-152: Delete location collection"
summary: "Delete location collection"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-152: Delete location collection

Delete location collection in the context of `clsLocationCollection`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-152 |
| **Operation type** | Delete |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsLocationCollection` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete / AfterDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:LocSeqNum` | Input | bound from `MyCriteria.LocSeqNum` | - | Bound in `clsLocationCollection.BeforeRetrieve` (line 456) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [LOCATION](../database-tables.md#location) | DELETE | See sample SQL |

## Sample SQL

```sql
DELETE
  LOCATION
WHERE
  LOCATION.LOC_SEQ_NUM = :LocSeqNum
```

## Operations and processes
- [Filter policy locations for a view](../operations/filter-policy-locations-for-a-view.md)

## Business rules
- [BR-017: A location is active as of a date](../business-rules.md#br-017-a-location-is-active-as-of-a-date)

> **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\clsLocationCollection.vb`
