1. [MySQL] Statement Labels

    참고

    MySQL Documentation 13.6.2 Statement Labels

    설명

    • BEGIN ... END 블록의 고유한 이름으로 사용

    syntax

    [begin_label:] BEGIN
        [statement_list]
    END [end_label]
    
    [begin_label:] LOOP
        statement_list
    END LOOP [end_label]
    
    [begin_label:] REPEAT
        statement_list
    UNTIL search_condition
    END REPEAT [end_label]
    
    [begin_label:] WHILE search_condition DO
        statement_list …
    read more

links

social