sql - How to split comma separated text in MySQL stored procedure -
To use the result in the SQL "IN" statement, how to divide a separate text (list of IDs) with commas in the MySQL stored procedure
SELECT * to table WHERE table.id IN (splitStringFunction (Comma Separated Data, ','));
You can do it in two ways:
- < Li>
Comments
Post a Comment