This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`() | |
BEGIN | |
DECLARE fim INT DEFAULT false; | |
DECLARE var_id_lancamento_contabil_item int; | |
DECLARE var_id_lancamento_contabil int; | |
DECLARE var_id_conta_debito int; | |
DECLARE var_id_conta_credito int; | |
DECLARE var_valor_debito decimal(20,2); | |
DECLARE var_valor_credito decimal(20,2); | |
DECLARE var_stat tinyint; |