---
title: "SQL-032: clsMenuCategoryCode"
summary: Update statement for clsMenuCategoryCode.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Menu
reference_type: package
---

# SQL-032: clsMenuCategoryCode

Updates the description of an existing category code record in `MENU_CATEGORY_CODE`.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CodeDescr` | Input | String** | 100 | Description bound from `Description`. |
| `:Code` | Input | String** | 5 | WHERE key bound from `MyCriteria.Code`. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_CATEGORY_CODE](../database-tables.md#menu-category-code) | UPDATE | `CODE_DESCR` (WHERE `CODE`) |

## Sample SQL

```sql
Update MENU_CATEGORY_CODE
Set CODE_DESCR = :CodeDescr
Where MENU_CATEGORY_CODE.CODE = :Code
```

## Operations and processes
- [Menu categorization](../operations/menu-categorization.md)


## Business rules
- [BR-MNU-02: DML row-count enforcement](../business-rules.md#br-mnu-02-dml-row-count-enforcement)


> **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.Menu\clsMenuCategoryCode.vb`
