I\'ve got a sproc (MSSQL 2k5) that will take a variable for a LIKE claus like so:
DECLARE @SearchLetter2 char(1) SET @SearchLetter = \'t\' SET @SearchLetter2
It may be as simple as LIKE '%%[%3]%%' being [%3] the input variable.
LIKE '%%[%3]%%'
[%3]
This works for me with SAP B1 9.1