Hello, I would like to use a prepared statements to do a select statement, however I do not know how many values I would need to compare against until runtime.
The statement would look like this
select * from table where column name like 'value1' or 'value2' or 'value3'
but I do not know how many values I may need to add in as the user will be selecting them. Currently I have built the statement as a
string, but I need it to be resisteant against sql injection attacks.
Thanks,