I have a sequence table with two columns, name, value, and I have a stored procedure for incrementing the value provided the name
DROP PROCEDURE IF EXISTS p_
Yes, scope your table column by an alias.
e.g.
delimiter // create procedure foo( id int ) begin select * from users u where u.id = id; end // call foo( 123 )
returns user id = 123