---
title: "SQL-042: Delete a menu page"
summary: Delete a menu page
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-042: Delete a menu page

This statement is the `DeleteSQL` implementation of `clsMenuPage.Criteria`, executed from `BeforeDelete` against `MENU_PAGE`. Delete a menu page.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:MenuPageSeqNum` | Input | Decimal | N/A | Page to delete |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_PAGE](../database-tables.md#menu_page) | DELETE | MENU_PAGE_SEQ_NUM (WHERE) |

## Sample SQL

```sql
-- Delete a menu page
Delete
  MENU_PAGE
Where
  MENU_PAGE.MENU_PAGE_SEQ_NUM = :MenuPageSeqNum
```

## 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-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/clsMenuPage.vb
