+ 1

what is it mean ? select*from table where title like 'IT+_%' escape '+' ;

18th Apr 2017, 9:07 PM
Rana
Rana - avatar
9 Respuestas
+ 3
If you don't use escape return all string like IT123blb ITftyhjjkj etc._ meen any symbols between other two in expressions usually
19th Apr 2017, 5:05 AM
shaldem
shaldem - avatar
+ 2
i think that is a regular expression, basically saying what pattern the row title has to match
18th Apr 2017, 11:21 PM
Martin Soukup
Martin Soukup - avatar
+ 2
This is pattern for string comparison. 'IT' is letters, '+' is screening symbol for '_' and '%' is any number of any characters. So this query will select titles like 'IT_123' or 'IT_abc' or 'IT_1aB#
#x27; etc.
19th Apr 2017, 12:01 AM
Jeth
Jeth - avatar
+ 2
If we type 'it_%' then '_' symbol will not be screened. Not screened '_' symbol means any one symbol so it will select titles that start with IT, not with IT_
19th Apr 2017, 3:50 AM
Jeth
Jeth - avatar
+ 2
No, + is screening symbol (meaning then next symbol after it should not be a special symbol an means just what it means). And it only when you clarify it with "escape '+'" part. Otherwise defaul screening symbol is '\' so without "escape '+'" you should write '\_' instead of '+_' if you want to screen '_' symbol.
19th Apr 2017, 3:57 AM
Jeth
Jeth - avatar
+ 1
select evry thing in table where title start whit IT_
19th Apr 2017, 12:16 AM
Mustafa Kenliç
Mustafa Kenliç - avatar
0
so what is the different if we type 'it_%' ?
19th Apr 2017, 3:47 AM
Rana
Rana - avatar
0
so + help us to put constant values?
19th Apr 2017, 3:54 AM
Rana
Rana - avatar
0
thank you very much ❤
19th Apr 2017, 4:02 AM
Rana
Rana - avatar