I found that there is some solution for this by adding the 'BINARY' in the field's keyword. But what I worry here is , if the user wish to serarch from my db in case-insensitive, how?
Currently i wish to let the user to serach thru my db either case-sensitive or case-insensitive. Any solution for this will be appreciated.
Thanks.
enterume wrote:
How do I do a sql statement which is in case-sensitive in the 'like' sql statement?
For example, below is my sql statement, which I wish to perform in case sensitive in the search condition:
===================================
select * from TableSearch where user_id='325' AND header_subject like '%NOki%' order by header_date desc
I know that 'like' in sql statement will force the search string to be case-insensitive. Any solution for this?
Thanks in advance.