Possible Duplicate:
How to Use 'Like' with a parameter
How do you do this?
SELECT * FROM TABLE WHERE COL LIKE % @PARAM %
I would like to avoid passing %value% in a statement.
SELECT * FROM TABLE WHERE COL LIKE '%' + @PARAM + '%'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With