开发者

Can you loop over a comma separated list of values in a mysql stored procedure

开发者 https://www.devze.com 2023-01-17 06:04 出处:网络
I need t开发者_如何转开发o loop over a comma separated list of IDS that were passed into a stored procedure.I have seen people use locate() and substringetc but I haven\'t seen anything that really ma

I need t开发者_如何转开发o loop over a comma separated list of IDS that were passed into a stored procedure. I have seen people use locate() and substring etc but I haven't seen anything that really makes sense.

Thanks!


Maybe this is something like you want? http://forge.mysql.com/tools/tool.php?id=4

Basically it is used to convert a comma delimited string into a table.

0

精彩评论

暂无评论...
验证码 换一张
取 消