Getting **359616044513513-2574**
as Mysql parameter, my requirement is to split this parameter by “-“ operater and stored them into two variables like
dev=359616044513513 and id=2574
How can i do it in stored procedure of MYSQL??
Getting **359616044513513-2574** as Mysql parameter, my requirement is to split this parameter by –
Share
You can use MySQL’s
SUBSTRING_INDEX()function: