3
I’m migrating a project in Firebird to Mysql, I’m with a difficulty in converting a trial, would like any hint in how to proceed, below goes the Trial in FIREBIRD.
CREATE PROCEDURE EXECUTA_INATIVA_TABELAS (
OPERADOR VARCHAR(20),
ALTERACAO TIMESTAMP)
AS
DECLARE CGC VARCHAR(18);
DECLARE VIGENCIA TIMESTAMP;
BEGIN
FOR
SELECT CGC, VIG_TAB
FROM PARM_CALCULO
WHERE ( VIG_TAB IS NOT NULL )
INTO :CGC, :VIGENCIA
DO
BEGIN
EXECUTE PROCEDURE INATIVA_TABELAS(:CGC, :VIGENCIA, :OPERADOR,
:ALTERACAO);
END
SUSPEND;
END^
https://superuser.com/questions/1490588/convert-firebird-stored-procedure-to-mysql has a suggestion, I BELIEVE you need to resolve, I also needed
– Valmor Reblin