Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SQL.Text := Format('select foo from bar where baz like ''%s%''',[SearchTerm]);
- SQL.Text := Format('select foo from bar where baz like ''%s''',[SearchTerm+'%']);
- SQL.Text := Format('select foo from bar where baz like ''%s%%''',[SearchTerm]);
Add Comment
Please, Sign In to add comment