MySQL Tutorial/Procedure Function/Begin End — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 13:44, 26 мая 2010
BEGIN and END Statements
BEGIN and END statements group statements in procedures with more than one SQL statement.
Declarations can be made only within a BEGIN ... END block.
You can define a label for the block to clarify your code.
The labels must match exactly.
yourLableName: BEGIN
<SQL statement>;
<SQL statement>;
END yourLableName