---
title: "SQL-MENU-010: Update menu category code"
summary: "Update a menu category code row."
status: draft
owner: SAIF documentation team
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-MENU-010: Update menu category code

Update a menu category code row.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-MENU-010 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsMenuCategoryCode` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CodeDescr` | Input | String | 100 | Code description. |
| `:Code` | Input | String | 5 | Lookup key. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_CATEGORY_CODE](../database-tables.md#menucategorycode) | UPDATE | `CODE`, `CODE_DESCR` |

## Sample SQL

```sql
UPDATE MENU_CATEGORY_CODE
SET CODE_DESCR = :CodeDescr
WHERE MENU_CATEGORY_CODE.CODE = :Code
```

## Operations and processes
- [Maintain reference data](../operations/maintain-reference-data.md)

## Business rules
- [BR-MENU-001: Optimistic contention on write](../business-rules.md#br-menu-001-optimistic-contention-on-write)

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

## Sources
- `SAIF.Business.Menu\clsMenuCategoryCode.vb`
