IN_START_DATE is your IN parameter and you are attempting to modify the IN parameter by
SET In_Start_Date = cast(current_date as date format 'YYYY-MM-DD') + 1;
You can't update the input parameter of a stored procedure.
Either define this parameter as INOUT or use a local date variable instead.
↧