Other ways to assign values to variables
You can use the SELECT statement to fetch a value from
the database and assign it directly to a variable, as the following
figure shows.
Use the CALL or EXECUTE PROCEDURE statements to assign
values returned by an SPL function or an external function to one
or more SPL variables. You might use either of the statements in the
following figure to return the full name and address from the SPL
function read_address into the specified SPL variables.