I want to find a certain string pattern from database and u`v used the following query for that:
SELECT * FROM myTable
WHERE name LIKE 'a%'
But i want to search a pattern which is been given by the user a the same time. Can there be a variable there with LIKE?
SELECT * FROM myTable
WHERE name LIKE 'a%'
But i want to search a pattern which is been given by the user a the same time. Can there be a variable there with LIKE?
Comment