G
Guest
I am trying to create a query in a TableAdapter that looks like this:
SELECT partnumber,description FROM parts WHERE description LIKE '%' + ? + '%'
The idea is that the query will find any parts that contain the description
fragment passed in as a parameter. I'm not sure how to go about the " LIKE
'%' + ? + '%' " part, though. It's an OLEDB data source, thus the ? as the
parameter designation. But are then any suggestions?
Thanks,
Cliffe
SELECT partnumber,description FROM parts WHERE description LIKE '%' + ? + '%'
The idea is that the query will find any parts that contain the description
fragment passed in as a parameter. I'm not sure how to go about the " LIKE
'%' + ? + '%' " part, though. It's an OLEDB data source, thus the ? as the
parameter designation. But are then any suggestions?
Thanks,
Cliffe