---
title: "SQL-MENU-009: Retrieve menu category code"
summary: "Retrieve 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-009: Retrieve menu category code

Retrieve a menu category code row.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-MENU-009 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsMenuCategoryCode` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
SELECT
  MENU_CATEGORY_CODE.CODE as Code,
  MENU_CATEGORY_CODE.CODE_DESCR as CodeDescr
FROM MENU_CATEGORY_CODE
WHERE MENU_CATEGORY_CODE.CODE = :Code
```

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

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

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