---
title: "SQL-040: Delete group association discount row"
summary: Delete group association discount row
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Group
reference_type: package
---

# SQL-040: Delete group association discount row

`SQL-040` delete group association discount row in support of `clsGroupAssociationDiscount`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-040 |
| **Operation type** | Delete |
| **Execution method** | Inline SQL via BOF data portal |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsGroupAssociationDiscount` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | none (framework default binding) |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:GroupAssociationCode` | In | String | not specified | Row key — owning group code. |
| `:EffectiveDate` | In | Date | not specified | Row key — discount effective date. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [GROUP_ASSOCIATION_DETAIL](../database-tables.md#group_association_detail) | DELETE | GROUP_ASSOCIATION_CODE, EFFECTIVE_DATE |

## Sample SQL

```sql
Delete GROUP_ASSOCIATION_DETAIL
Where
  GROUP_ASSOCIATION_DETAIL.GROUP_ASSOCIATION_CODE = :GroupAssociationCode
  AND GROUP_ASSOCIATION_DETAIL.EFFECTIVE_DATE = :EffectiveDate
```

## Operations and processes
- [Supply the group discount factor to rating](../operations/supply-group-discount-factor.md)

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