Hi all,
I'm doing a quick search in a table and I'm having a problem specifying my data to the table's column's string.
for example:
SELECT * FROM tableA WHERE columnA LIKE '%4%'
Problem is the columnA carries string such as 1,3,14,20, and as you can see, this row is selected as LIKE '%4%' even it doesn't have 4 in its string.
Is there a better way to do this?
Thanks!
I'm doing a quick search in a table and I'm having a problem specifying my data to the table's column's string.
for example:
SELECT * FROM tableA WHERE columnA LIKE '%4%'
Problem is the columnA carries string such as 1,3,14,20, and as you can see, this row is selected as LIKE '%4%' even it doesn't have 4 in its string.
Is there a better way to do this?
Thanks!