---
title: SQL-098: Delete Provider Location
summary: Deletes provider location data from Oracle.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Provider
reference_type: package
---

# SQL-098: Delete Provider Location

Deletes provider location data from Oracle.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :ProviderLocationSeqNum | Input | Unspecified | N/A | Value from `ProviderLocationSeqNum` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PROVIDER_LOCATION](../database-tables.md#provider_location) | DELETE | See business-object criteria for key columns. |

## Sample SQL

```sql
Delete PROVIDER_LOCATION Where PROVIDER_LOCATION.PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum
```


## Operations and processes
- [Maintain provider location](../operations/maintain-provider-location.md)

## Business rules
- [BR-003: Only one primary location is allowed](../business-rules.md#br-003-only-one-primary-location-is-allowed)
- [BR-004: Provider type is required for a location](../business-rules.md#br-004-provider-type-is-required-for-a-location)
- [BR-005: Business locations require a business name](../business-rules.md#br-005-business-locations-require-a-business-name)
- [BR-006: Individual locations require a last name](../business-rules.md#br-006-individual-locations-require-a-last-name)

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

## Sources
- `Business\SAIF.Business.Provider\clsProviderLocation.vb`
