SQL-Code:
select
count(w.warehouseid) as total
from
warehouse w
where
w.locationid IN (:p0);
q.params[0].AsString := '1,3' ;
Eintweder als &Makro, nicht als :Parameter
oder den Parameter im
SQL "splitten" (string to array ODER to rows)
Ein Therapeut entspricht 1024 Gigapeut.