【发布时间】:2018-11-30 07:30:43
【问题描述】:
我将值传递给存储过程。逻辑是用逗号分割值并使用循环。
@Colomns Id,Firstname,Lastname
@values 1,'foo','bar'
查询应该是
Select * from user where Id = 1 and Firstname = 'foo' and Lastname = 'bar'
【问题讨论】:
-
搜索mysql拆分字符串,如果有问题,返回你写的代码。
标签: mysql sql database stored-procedures