How does one sort the query results in the alphabetic order of the first character?
If the database uses the GBK character set
$ SQL = 'select brand_id, brand_name FROM '. $ GLOBALS ['ecs']-> table ('brand'). 'order BY brand_name ';
If the
About the Unicode character set(2011-10-20 20:54:03) The initial Unicode encoding is a fixed-length, 16-bit, or 22-byte representation of a character, which can represent a total of 65,536 characters. Obviously, it is not enough to represent all the
Sequence Types
There are six types of sequence: strings, byte sequences (bytes objects), byte arrays (ByteArray objects), list, tuple, Range objects.
Common operations supported by the sequence type:Member check: in, not inConnection: +Copy:
Characters
Meaning: For a character, it is usually indicated by literal meaning that the character followed by a special character is not interpreted.
For example:/b/matches the character ' B ', which becomes a special character by adding a
Ordinary characters
Normal characters are made up of all print and nonprinting characters that are not explicitly specified as metacharacters. This includes all uppercase and lowercase alphabetic characters, all numbers, all punctuation marks, and
The concept of character set is clear to everyone. Many people do not understand the proofreading rules. This concept is not used in general database development. mysql seems very advanced in convenience.
The concept of character set is clear to
Sequence Types
There are six types of sequence: strings, byte sequences (bytes objects), byte arrays (ByteArray objects), list, tuple, Range objects.
Common operations supported by sequence types:Member check: in, not inConnection: +Copy:
What is a regular expression?Regular expressions, also known as formal representations, general representations (English: Regular Expression, often abbreviated as regex, RegExp, or re) in code, are a concept of computer science. A regular expression
Brief Description
Character Set and verification rulesCharacter Set is a set of symbols and encoding. A collation is a set of rules used to compare characters in a character set.MySql provides strong support in collation, and mongoel does not find
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.