Skip to content

SQL-017: Retrieve one menu category code

This statement is the RetrieveSQL implementation of clsMenuCategoryCode.Criteria, executed from BeforeRetrieve against MENU_CATEGORY_CODE. Retrieve one menu category code.

Classification

Field Value
SQL ID SQL-017
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 Category code to look up

Tables

Table Access Columns used
MENU_CATEGORY_CODE SELECT CODE, CODE_DESCR

Sample SQL

-- Retrieve one menu category code
Select
  MENU_CATEGORY_CODE.CODE as Code,
  MENU_CATEGORY_CODE.CODE_DESCR as CodeDescr
From
  MENU_CATEGORY_CODE
Where
  MENU_CATEGORY_CODE.CODE = :Code

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

Sources

  • SAIF.Business.Menu/clsMenuCategoryCode.vb