Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to create a simple knowledge base program. I want to have a text box were someone enters their search criteria - the value entered would be stored as a variable eg. Variable1) and used as part of the search.
eg. SELECT Name FROM Customer WHERE Surname LIKE '%ison%';
This line would obviously return any surnames containing 'ison' - how could I re-write this line to include the variable name (Variable1) rather than the constant ison?
Thankyou very much in advance,
Michael.
eg. SELECT Name FROM Customer WHERE Surname LIKE '%ison%';
This line would obviously return any surnames containing 'ison' - how could I re-write this line to include the variable name (Variable1) rather than the constant ison?
Thankyou very much in advance,
Michael.