SQL-040: Delete a user favorite
This statement is the DeleteSQL implementation of clsMenuFavorite.Criteria, executed from BeforeDelete against MENU_FAVORITE. Delete a user favorite.
Classification
| Field |
Value |
| SQL ID |
SQL-040 |
| Operation type |
Delete |
| Execution method |
Inline SQL |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsMenuFavorite |
| Criteria property |
DeleteSQL |
| Lifecycle method |
BeforeDelete |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:MenuFavoriteSeqNum |
Input |
Decimal |
N/A |
Favorite row to delete |
Tables
| Table |
Access |
Columns used |
| MENU_FAVORITE |
DELETE |
MENU_FAVORITE_SEQ_NUM (WHERE) |
Sample SQL
-- Delete a user favorite
Delete
MENU_FAVORITE
Where
MENU_FAVORITE.MENU_FAVORITE_SEQ_NUM = :MenuFavoriteSeqNum
Operations and processes
Business rules
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
- SAIF.Business.Menu/clsMenuFavorite.vb