I'm trying to build a search type select statement constrained by a users input.....variable(x) which forces the use of like in the selection processing:
x := (whatever user enters);
I have tried with no luck:
Select * from personnel
where lastname like '%x%';
Select * from personnel
where lastname like "'%" x "%'";
If you know of a way to pass a variable value to a like expression please let me know. Thank you for your time!
Software/Hardware used:
ASKED:
July 24, 2006 9:24 AM
UPDATED:
July 24, 2006 4:22 PM
SELECT *
|| ‘%’;
FROM personnel
WHERE lastName LIKE ‘%’ ||
—
Sheldon Linker (sol@linker.com)
Linker Systems, Inc. (www.linkersystems.com)
800-315-1174 (+1-949-552-1904)