M
M
MdaUZH2016-01-06 15:29:53
PHP
MdaUZH, 2016-01-06 15:29:53

Similar string search and case insensitive SQL query?

Hi all.
How to make a case insensitive query in SQL?
for example, there is a line:
TeXt, it is necessary that the line Text or teXT does not matter, find it .. and you can’t do everything in lowercase.
And how to search for a similar string,
for example, there is a MyTexT string in the database, and I'm looking for it by "ytEx", and I need to find exactly this string?
something like this:
WHERE = '%ytex%'
???
Thanks a lot everyone in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-01-06
@MdaUZH

LIKE , REGEXP , Full-Text Search
And case sensitivity is determined by the specified encoding for the field/table/database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question