comma separated value separation

后端 未结 4 1115
长发绾君心
长发绾君心 2021-02-06 11:47

I have one table with the following kinds of records in it. I have Salesman and associated account numbers (comma separated).

+----------+----------         


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 12:44

    You can do this with a stored procedure. See http://kedar.nitty-witty.com/blog/mysql-stored-procedure-split-delimited-string-into-rows for an example that looks like it solves your problem.

提交回复
热议问题