I have strange problem. Consider below Teradata Stored Procedure:
REPLACE PROCEDURE OutParam
(
IN PIN VARCHAR(79),
OUT POUT DECIMAL(38),
OUT POUT2 DECIMAL(38)
)
OutParam:
BEGIN
SET POUT = 4;
SET POUT2 = 77;
END;Note that there are 3 parameters where one of OUT DECIMAL parameters is preceded by IN VARCHAR parameter - it's important.
↧
DECIMAL OUT parameter lost value after SP CALL when after VARCHAR IN parameter - topic by pjozwiak
↧