I have a sequence table with two columns, name, value, and I have a stored procedure to increment the value, provided that the name
DROP PROCEDURE IF EXISTS p_generate_sequence; delimiter | CREATE PROCEDURE p_generate_sequence (name VARCHAR(30)) BEGIN START TRANSACTION;
Note that this parameter is called "name".
Is there any approach for using a parameter with the same name as the table column name?
NOTE: I am not interested in the name of the change parameter or even the name of the column, just to find out if this is possible or not, and how.
mysql stored-procedures
Jhonny D. Cano -Leftware-
source share