How would you define a variable in a Stored procedure when using the LIKE clause ie.
EXEX curt @value = '100'
select * from table where username like '%?????
username have values of (K100, J100, T100, etc )
Does not seems to work no matter how I try to put the variable in the LIKE clause.
Tags:
Share
Facebook
-
▶ Reply to This