Can you please let me know what I am doing wrong here with update statement in stored procedure using concat?
DELIMITER ;;
CREATE PROCEDURE `update_data`(IN loc INT)
BEGIN
update cart set location = concat('999999999', loc) where location = loc;
END;;
DELIMITER ;
When I run this I am not getting a different number than I am trying to update.
call update_data(1);
Here is my result from location
2147483647
I was expecting 9999999991.
Any ideas?