---
title: "SQL-023: Retrieve all menu items"
summary: Retrieve all menu items
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-023: Retrieve all menu items

This statement is the `RetrieveSQL` implementation of `clsMenuItemCollection.Criteria`, executed from `BeforeRetrieve` against `MENU_ITEM`. Retrieve all menu items.

## Classification

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

## Parameters

This statement takes no bind parameters.

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_ITEM](../database-tables.md#menu_item) | SELECT | MENU_ITEM_SEQ_NUM, MENU_PAGE_SEQ_NUM, MENU_CATEGORY_CODE, TOOL_TIP_TXT, VISIBLE_FLAG, PAGE_ORDER_NUM, UPDATE_DATE, UPDATE_USER |

## Sample SQL

```sql
-- Retrieve all menu items
Select
  MENU_ITEM.MENU_ITEM_SEQ_NUM as MenuItemSeqNum,
  MENU_ITEM.MENU_PAGE_SEQ_NUM as MenuPageSeqNum,
  MENU_ITEM.MENU_CATEGORY_CODE as MenuCategoryCode,
  MENU_ITEM.TOOL_TIP_TXT as ToolTip,
  MENU_ITEM.VISIBLE_FLAG as VisibleFlag,
  MENU_ITEM.PAGE_ORDER_NUM as PageOrder,
  MENU_ITEM.UPDATE_DATE as UpdateDate,
  MENU_ITEM.UPDATE_USER as UpdateUser
From
  MENU_ITEM
```

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

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