Академический Документы
Профессиональный Документы
Культура Документы
-- --------------------------------------------------------------------------------
-- Routine DDL
-- Note: comments before and after the routine body will not be stored by the server
-- --------------------------------------------------------------------------------
DELIMITER $$
get_code: LOOP
IF v_finished = 1 THEN
LEAVE get_code;
END IF;
-- build code
select CONCAT(vClassCode,\'rn\', v_codeChunk) into vClassCode ;
CALL `dietplandb`.`GenCSharpModel`(\'unit_lookup\');
Em havendo uma tabela com o nome unit_lookup , o resultado será o apresentado abaixo
por exemplo: