I want to run a query like this in MySQL:
select * from table where column1 like \'%searchdata%\'
But I want to use a parameter to pass in the
The % symbols need to be inside the parameter value, so it's something more like:
%
select * from table where column1 like ?;
And then you set the parameter to:
%searchText%