---
title: "SQL-043: Delete a security-group grant"
summary: Delete a security-group grant
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-043: Delete a security-group grant

This statement is the `DeleteSQL` implementation of `clsMenuSecurity.Criteria`, executed from `BeforeDelete` against `MENU_SECURITY`. Delete a security-group grant.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:MenuSecuritySeqNum` | Input | Decimal | N/A | Security grant row to delete |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_SECURITY](../database-tables.md#menu_security) | DELETE | MENU_SECURITY_SEQ_NUM (WHERE) |

## Sample SQL

```sql
-- Delete a security-group grant
Delete
  MENU_SECURITY
Where
  MENU_SECURITY.MENU_SECURITY_SEQ_NUM = :MenuSecuritySeqNum
```

## Operations and processes

- [Update or delete a maintained object](../operations/op-menu-07-update-delete-maintained-object.md)

## Business rules

- [BR-MENU-020](../business-rules.md#br-menu-020-single-row-write-verification): Single-row write verification
- [BR-MENU-021](../business-rules.md#br-menu-021-cascading-child-security-group-save): Cascading child security-group save
- [BR-MENU-022](../business-rules.md#br-menu-022-delete-returns-object-to-new-state): Delete returns object to new state

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

## Sources
- SAIF.Business.Menu/clsMenuSecurity.vb
