delimiter $$CREATE PROCEDURE USER_VARIABLE ()BEGIN SET @VAR1 = 1;END$$delimiter ;CALL USER_VARIABLE ();SELECT @VAR1;