DELIMITER //

CREATE PROCEDURE alter_expense_id_sequence(IN sequence_name VARCHAR(255), IN new_start_value INT)
BEGIN
    SET @sql = CONCAT('ALTER SEQUENCE ', sequence_name, ' RESTART WITH ', new_start_value);
PREPARE stmt FROM @sql;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
END//

DELIMITER ;