() function to get the length of a string:Select Length (' ABCDEFG '), Length (' 0123456789 ');/*+-------------------+----------------------+| Length (' ABCDEFG ') | Length (' 0123456789 ') |+-------------------+----------------------+|
This article will give you a detailed introduction to mysql. If you do not know string operation functions, you can refer to them.
The LENGTH () function can obtain the LENGTH of a string:
Select length ('abcdefg'), length ('20140901 ');/*+ -------
The length () function can get the lengths of a string:
Select Length (' ABCDEFG '), Length (' 0123456789 ');/*+-------------------+----------------------+| Length (' ABCDEFG ') | Length (' 0123456789 ') |+-------------------+----------------------+
1. Group function Usage Rules
group functions in MySQL can be used at will in a SELECT statement, but in Oracle if there is a group function in the query, the other column names must be processed by the group function, or the column in the GROUP BY
PHP notes (PHP advanced) advanced articles will involve database usage and Cookie and Session sessions, improving PHP development efficiency and operation efficiency
MySQL operations that PHP programmers need to master
Design tables for
Knowledge about SQL Injection bypass and SQL Injection Bypass
I. Concept of bypassing waf
Start from step 1, analyze at, and then bypass.
1. Filter and, or
preg_match('/(and|or)/i', $id)Filtered injection: 1 or 1 = 1 1 and 1 = 1Bypassed injection: 1
This article is reproduced from: http://blackproof.iteye.com/blog/2108353
String functions
String length function: Length
Syntax: Length (String a)
return value: int
Description: Returns the length of the string a
example:
hive> Select Length ('
100 tables were created because of business needs, but the structure of these tables is the same, and as programmers, it is to solve this repetitive work. However, this kind of thing to write a PHP script alone is too much trouble, so I simply
The database that exists by default:
Mysql
Requires root permission to read
Information_schema
exists in more than 5 versions
Test for the presence of an injection methodFalse: Indicates that the
The function can use the field name as a variable, and the value of the variable is all the values of that column, and when you organize 98 of online dictionary data (http://zidian.98zw.com/), there is a need to Want to extract the first pinyin from
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.