MYSQL queries are case insensitive by default, for example: CREATE TABLE T1 (NAME VARCHAR (10)); For this table, by default, the results of the following two queries are the same: SELECT * from T1 WHERE name= ' ABC '; SELECT * from T1 WHERE name= '
ms-appdata://can reference app files from your app's local, roaming, and temporary data foldersMs-appdata:///local/hello/logo.pngms-appx://can reference application files from the app packageMs-appx://[email protected]/default.htmlMS-RESOURCE://can
In mysql, if I use common data sorting methods, we may not get the expected results, but mysql provides us with the CAST CONVERT function, which can CONVERT numbers accordingly, I used this function to sort Chinese characters in the past.
Let's
In this article, I have accumulated some knowledge and experience when I was a beginner in PHP. For more information, see
In this article, I have accumulated some knowledge and experience when I was a beginner in PHP. For more information, see
What is the string function commonly used by php to process addcslashes? Add backslash escape characters to some characters in the string
Addslashes? Escape characters in a string in the specified way
Bin2hex? Convert binary data to hexadecimal
Summary of knowledge accumulation during PHP beginners. PHP Basics 1. PHPPHP is an embedded language mixed with HTML. 1. what are the default PHP mark? Php? Short Mark ??, You need to enable the short_open_tag option in php. ini and its PHP
The basic type, or built-in type, is a special type different from the class in Java. They are the most frequently used types in programming, so they are always indispensable in the interview questions, in this article, we will review the knowledge
Addcslashes -- add backslash escape characters to some characters in the string
Addslashes -- escape characters in a string in a specified way
Bin2hex -- convert binary data to hexadecimal Representation
Chr -- returns the ASCII code of a character.
Previously, due to the customer's requirement to install system applications in centos, they had the opportunity to get in touch with centos. By the way, they also learned about General centos operations and MySQL-related operations in
PHP string, phpstringPHP 5 String Function
The PHP String function is a core component of PHP. These functions can be used without installation.
Function
Description
Addcslashes ()
Returns the string with the backslash added
Common string processing functions used for development:Strtr () is a special character in the conversion string.Substr () returns part of the string.Strstr () first appearance of a string in another string (case sensitive)Str_replace () replaces
ECMAScript supports regular expressions through the REGEXP type. Using the following Perl -like syntax, you can create a positiveThe expressionvar expression =/pattern/flags;The patternsection can be any simple or complex regular expression that
PHP Common function Summary mathematical function 1. ABS (): the absolute value $abs = ABS (-4.2); 4.2 Numeric value Absolute number 2. Ceil (): Take the whole echo ceil (9.999) in one method; 10 floating-point number into a whole 3. Floor (): To
The Define () function defines a constant.The purpose of the Define () function is to define a constant.
Constants are much like variables, except for the following differences:constants [constant] have a lot in common with variables [variable], so
addcslashes-to add a backslash escape character for some characters inside a string
Addslashes-the characters inside a string in a specified manner
bin2hex-converts binary data to hexadecimal representations
alias function for Chop-rtrim
Originally Linux under the default is the table name is case-sensitive, with the following settings, you can let MySQL is not distinguished table name casing:1, log in with root, modify/etc/my.cnf;2. Add a line under the [MYSQLD] node:
Table one, operators, and special characters
Operator
Describe
/
Selects the child element, returns the immediate child element of the left element, and if "/" is at the leftmost point, the direct child
Select the MYSQL column typeWhen creating a table, how does one determine which types to use? This section describes the factors that should be taken into account before making a decision. The most "common" column type is the string type. Any data
The Define () function defines a constant.The purpose of the Define () function is to define a constant.
Constants is much like variables, except for the following differences:
constants [constant] and variables [variable] have many similarities, so
Summary:
1. The database name is case-sensitive and cannot be configured with Parameters
2. The table name is case sensitive (lower_case_table_names can be configured with parameters), and the table alias is case sensitive.
3. The column name and
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.