[begin_label:] WHILE search_condition DO statement_list END WHILE [end_label] WHILEã¹ãã¼ãã¡ã³ãä¸ã®ã¹ãã¼ãã¡ã³ããªã¹ãã¯ãsearch_conditionãçã«ãªãã¾ã§ç¹°ãè¿ããã¾ãã statement_listã¯è¤æ°ã®ã¹ãã¼ãã¡ã³ãããæãç«ã£ã¦ãã¾ãã CHECKãWHILEã¹ãã¼ãã¡ã³ãã«ã¯ã©ãã«ãè²¼ããã¨ãã§ãã¾ãã begin_labelãåå¨ãã¦ããªãéããend_labelãéä¸ãããã¨ã¯ã§ãã¾ããã両æ¹ãåå¨ããå ´åããããã¯åãã§ãªããã°ãªãã¾ããã ä¾: CREATE PROCEDURE dowhile() BEGIN DECLARE v1 INT DEFAULT 5; WHILE v1 > 0 DO ... SET v1 = v1 - 1; END WHILE; END
{{#tags}}- {{label}}
{{/tags}}