Skip to content

SQL-032: Update a menu category code

This statement is the UpdateSQL implementation of clsMenuCategoryCode.Criteria, executed from BeforeUpdate against MENU_CATEGORY_CODE. Update a 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

Parameters

Parameter Direction Type Max length Description
:CodeDescr Input String 100 Updated category description
:Code Input String 5 Category code key

Tables

Table Access Columns used
MENU_CATEGORY_CODE UPDATE CODE_DESCR (SET); CODE (WHERE)

Sample SQL

-- Update a menu category code
Update
  MENU_CATEGORY_CODE
Set
  CODE_DESCR = :CodeDescr
Where
  MENU_CATEGORY_CODE.CODE = :Code

Operations and processes

Business rules

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

Sources

  • SAIF.Business.Menu/clsMenuCategoryCode.vb