久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='GMIUb'></bdo><ul id='GMIUb'></ul>
  1. <legend id='GMIUb'><style id='GMIUb'><dir id='GMIUb'><q id='GMIUb'></q></dir></style></legend>

    <small id='GMIUb'></small><noframes id='GMIUb'>

    <tfoot id='GMIUb'></tfoot>
    <i id='GMIUb'><tr id='GMIUb'><dt id='GMIUb'><q id='GMIUb'><span id='GMIUb'><b id='GMIUb'><form id='GMIUb'><ins id='GMIUb'></ins><ul id='GMIUb'></ul><sub id='GMIUb'></sub></form><legend id='GMIUb'></legend><bdo id='GMIUb'><pre id='GMIUb'><center id='GMIUb'></center></pre></bdo></b><th id='GMIUb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GMIUb'><tfoot id='GMIUb'></tfoot><dl id='GMIUb'><fieldset id='GMIUb'></fieldset></dl></div>

    1. 字符集和排序規(guī)則到底是什么意思?

      What does character set and collation mean exactly?(字符集和排序規(guī)則到底是什么意思?)

          <small id='kPjLl'></small><noframes id='kPjLl'>

            <tbody id='kPjLl'></tbody>
        1. <legend id='kPjLl'><style id='kPjLl'><dir id='kPjLl'><q id='kPjLl'></q></dir></style></legend>

              <bdo id='kPjLl'></bdo><ul id='kPjLl'></ul>
              <tfoot id='kPjLl'></tfoot>
              <i id='kPjLl'><tr id='kPjLl'><dt id='kPjLl'><q id='kPjLl'><span id='kPjLl'><b id='kPjLl'><form id='kPjLl'><ins id='kPjLl'></ins><ul id='kPjLl'></ul><sub id='kPjLl'></sub></form><legend id='kPjLl'></legend><bdo id='kPjLl'><pre id='kPjLl'><center id='kPjLl'></center></pre></bdo></b><th id='kPjLl'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='kPjLl'><tfoot id='kPjLl'></tfoot><dl id='kPjLl'><fieldset id='kPjLl'></fieldset></dl></div>

              • 本文介紹了字符集和排序規(guī)則到底是什么意思?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我可以閱讀 MySQL 文檔,而且非常清楚.但是,如何決定使用哪個字符集?整理對哪些數(shù)據(jù)有影響?

                I can read the MySQL documentation and it's pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?

                我要求解釋這兩者以及如何選擇它們.

                I'm asking for an explanation of the two and how to choose them.

                推薦答案

                來自 MySQL 文檔:

                字符集是一組符號和編碼.collat??ion 是一組比較字符的規(guī)則字符集.讓我們做用一個例子區(qū)分清楚一個虛構(gòu)的字符集.

                A character set is a set of symbols and encodings. A collation is a set of rules for comparing characters in a character set. Let's make the distinction clear with an example of an imaginary character set.

                假設(shè)我們有一個字母表四個字母:A"、B"、a"、b".我們給每個字母一個數(shù)字:'A' = 0,'B' = 1, 'a' = 2, 'b' = 3. 字母'A' 是一個符號,數(shù)字 0 是'A' 的編碼,以及組合所有四個字母及其encodings 是一個字符集.

                Suppose that we have an alphabet with four letters: 'A', 'B', 'a', 'b'. We give each letter a number: 'A' = 0, 'B' = 1, 'a' = 2, 'b' = 3. The letter 'A' is a symbol, the number 0 is the encoding for 'A', and the combination of all four letters and their encodings is a character set.

                現(xiàn)在,假設(shè)我們要比較兩個字符串值,A"和B".這最簡單的方法是查看編碼:0 代表A",1 代表'乙'.因?yàn)?0 小于 1,所以我們說A"小于B".現(xiàn)在,我們所擁有的剛剛完成的是對我們的字符集.整理是一個集合規(guī)則(在這種情況下只有一個規(guī)則):比較編碼."我們稱之為所有可能的排序規(guī)則中最簡單的一個二進(jìn)制整理.

                Now, suppose that we want to compare two string values, 'A' and 'B'. The simplest way to do this is to look at the encodings: 0 for 'A' and 1 for 'B'. Because 0 is less than 1, we say 'A' is less than 'B'. Now, what we've just done is apply a collation to our character set. The collation is a set of rules (only one rule in this case): "compare the encodings." We call this simplest of all possible collations a binary collation.

                但是如果我們想說小寫和大寫字母是相等的?那么我們將在至少有兩條規(guī)則:(1)對待小寫字母 'a' 和 'b' 作為相當(dāng)于A"和B";(2) 那么比較編碼.我們稱之為不區(qū)分大小寫的排序規(guī)則.它是比二進(jìn)制復(fù)雜一點(diǎn)整理.

                But what if we want to say that the lowercase and uppercase letters are equivalent? Then we would have at least two rules: (1) treat the lowercase letters 'a' and 'b' as equivalent to 'A' and 'B'; (2) then compare the encodings. We call this a case-insensitive collation. It's a little more complex than a binary collation.

                在現(xiàn)實(shí)生活中,大多數(shù)字符集都有許多字符:不僅僅是A"和B"但是整個字母表,有時多個字母或東方文字具有數(shù)千個字符的系統(tǒng),以及許多特殊符號和標(biāo)點(diǎn)符號.在現(xiàn)實(shí)生活中,大多數(shù)排序規(guī)則有很多規(guī)則:不只是不區(qū)分大小寫,但也口音不敏感(口音"是附加到字符的標(biāo)記,如德語 '?') 和多字符映射(例如?"='OE' 在兩個德語之一中排序規(guī)則).

                In real life, most character sets have many characters: not just 'A' and 'B' but whole alphabets, sometimes multiple alphabets or eastern writing systems with thousands of characters, along with many special symbols and punctuation marks. Also in real life, most collations have many rules: not just case insensitivity but also accent insensitivity (an "accent" is a mark attached to a character as in German '?') and multiple-character mappings (such as the rule that '?' = 'OE' in one of the two German collations).

                這篇關(guān)于字符集和排序規(guī)則到底是什么意思?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個先前值來決定接下來的 N 個行)
                reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個事務(wù)還是只是有問題的行?) - IT屋-程序員軟件開發(fā)技
                Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環(huán)數(shù)組)
                pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時發(fā)生錯誤 沒有合適的驅(qū)動程序)
                How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫表作為 Spark 數(shù)據(jù)幀讀取?)

                <small id='2S0Ko'></small><noframes id='2S0Ko'>

                  <legend id='2S0Ko'><style id='2S0Ko'><dir id='2S0Ko'><q id='2S0Ko'></q></dir></style></legend><tfoot id='2S0Ko'></tfoot>
                      <tbody id='2S0Ko'></tbody>
                    <i id='2S0Ko'><tr id='2S0Ko'><dt id='2S0Ko'><q id='2S0Ko'><span id='2S0Ko'><b id='2S0Ko'><form id='2S0Ko'><ins id='2S0Ko'></ins><ul id='2S0Ko'></ul><sub id='2S0Ko'></sub></form><legend id='2S0Ko'></legend><bdo id='2S0Ko'><pre id='2S0Ko'><center id='2S0Ko'></center></pre></bdo></b><th id='2S0Ko'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2S0Ko'><tfoot id='2S0Ko'></tfoot><dl id='2S0Ko'><fieldset id='2S0Ko'></fieldset></dl></div>

                        • <bdo id='2S0Ko'></bdo><ul id='2S0Ko'></ul>
                          主站蜘蛛池模板: 免费观看黄色一级片 | www.伊人.com | 久久久久久久av | 欧美精品一区二区三区四区 | 欧美日韩中文在线 | 天天夜夜操 | 成人免费视频在线观看 | 婷婷久久一区 | av男人的天堂在线 | 日韩av在线不卡 | 在线视频 亚洲 | 亚洲日本视频 | 97免费在线视频 | 午夜激情国产 | 久久久久九九九女人毛片 | 91成人精品 | 日韩中文字幕免费在线 | 欧美综合在线观看 | 影音先锋中文字幕在线观看 | 日本又色又爽又黄的大片 | 91精品国产91久久久久久密臀 | 中文字幕一区二区三区不卡 | 欧美日韩精品久久久免费观看 | 久久新 | 视频在线h| 日产久久| 中文字幕 国产精品 | 成人国内精品久久久久一区 | 午夜精品久久久久久久久久久久久 | 成人免费在线小视频 | 成人免费小视频 | 狠狠涩 | 国产免费一区二区三区 | 毛片毛片毛片毛片 | 国产美女精品视频免费观看 | 国产精品综合一区二区 | 免费一区二区 | 中文精品一区二区 | 一本一道久久a久久精品综合蜜臀 | 国产传媒视频在线观看 | 夜久久 |