2021年1月27日星期三

Variable MySql Where query from VB.net

I have a this query like this:

SELECT movimiento_almacen WHERE re_boleta_idre_boleta= XXX  

I would like to know if there is a way to consult multiple re_boleta_idre_boleta to sort in just one query like this:

SELECT movimiento_almacen WHERE re_boleta_idre_boleta= XXX,XXX,XXX   

But the XXX are variable, sometimes could be only 1 WHERE in other query could be 4 WHERE...

I was thinking on a procedure that receive an array but I never did and trying to figure how to do it

AND isnt funtional because its variable the query...

https://stackoverflow.com/questions/65926776/variable-mysql-where-query-from-vb-net January 28, 2021 at 04:20AM

没有评论:

发表评论