4
I have the following SQL command in the SQL property of a Tibquery component in Delphi.
SQL command used in the component with parameters:
select pro_codigo, pro_nome
from produtos
where pro_fis_codigo = :fis_codigo
and pro_bloqueado in (:bloqueado)
SQL command without the parameters:
select pro_codigo, pro_nome
from produtos
where pro_fis_codigo = 1
and pro_bloqueado in (1,2)
Is there any way to use the parameter :bloqueado
as an example below?
Query.PramByName(bloqueado).AsString:= '1,2'
There are contours, it matters?
– Filipe.Fonseca
Yes, I’m interested in contours
– Johni Douglas Marangon