Hi,
i'm using mysql database, i don't know syntax how to pass the parameter in like operator inside the stored procedure, i want to select the store number related to textbox input number given by user, Eg: if they type "3" we have to select which stores starts with "3", i got syntax error when executing the following stored procedure, please correct this sp and solve my problem
Advanced thanks for any reply.
CREATE PROCEDURE HD_SELECT_STORES(IN STORENUM INT)
BEGIN
select storeno from hd_stores_login where storeno like '"STORENUM"%';
END;
Thanks.