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

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

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

      2. MySQL INT 含义

        MySQL INT meaning(MySQL INT 含义)

          • <legend id='d3PO4'><style id='d3PO4'><dir id='d3PO4'><q id='d3PO4'></q></dir></style></legend>

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

              <tbody id='d3PO4'></tbody>

            1. <tfoot id='d3PO4'></tfoot>
                <bdo id='d3PO4'></bdo><ul id='d3PO4'></ul>
                1. <i id='d3PO4'><tr id='d3PO4'><dt id='d3PO4'><q id='d3PO4'><span id='d3PO4'><b id='d3PO4'><form id='d3PO4'><ins id='d3PO4'></ins><ul id='d3PO4'></ul><sub id='d3PO4'></sub></form><legend id='d3PO4'></legend><bdo id='d3PO4'><pre id='d3PO4'><center id='d3PO4'></center></pre></bdo></b><th id='d3PO4'></th></span></q></dt></tr></i><div id='d3PO4'><tfoot id='d3PO4'></tfoot><dl id='d3PO4'><fieldset id='d3PO4'></fieldset></dl></div>

                2. 本文介绍了MySQL INT 含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想知道如果我取值为 8 的 INT,这是否意味着我只能从 1 到 99999999 或从 1 到 4294967295 UNSIGNED?

                  I was wondering if I take a INT with a value of 8, does that mean that I can only go from 1 to 99999999 or from 1 to 4294967295 UNSIGNED ?

                  推荐答案

                  文档似乎很清楚这一点:

                  The documentation seems pretty clear about this:

                  数字类型属性

                  MySQL 支持可选地指定显示的扩展base 关键字后面括号中整数数据类型的宽度对于类型.例如,INT(4) 指定一个带有显示的 INT四位数的宽度.这个可选的显示宽度可以由显示宽度小于通过用空格左填充为列指定的宽度.(那即,此宽度存在于结果集返回的元数据中.是否使用取决于应用程序.)

                  MySQL supports an extension for optionally specifying the display width of integer data types in parentheses following the base keyword for the type. For example, INT(4) specifies an INT with a display width of four digits. This optional display width may be used by applications to display integer values having a width less than the width specified for the column by left-padding them with spaces. (That is, this width is present in the metadata returned with result sets. Whether it is used or not is up to the application.)

                  显示宽度不限制可以显示的值的范围存储在列中.它也不会阻止比列宽的值显示宽度无法正确显示.例如,一列指定为 SMALLINT(3) 的通常 SMALLINT 范围为 -32768 到32767,超出三位数字允许范围的值是以三位以上的数字完整显示.

                  The display width does not constrain the range of values that can be stored in the column. Nor does it prevent values wider than the column display width from being displayed correctly. For example, a column specified as SMALLINT(3) has the usual SMALLINT range of -32768 to 32767, and values outside the range permitted by three digits are displayed in full using more than three digits.

                  http://dev.mysql.com/doc/refman/5.5/en/numeric-types.html

                  这篇关于MySQL INT 含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                  MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)
                  • <bdo id='Oh3Eo'></bdo><ul id='Oh3Eo'></ul>
                    <legend id='Oh3Eo'><style id='Oh3Eo'><dir id='Oh3Eo'><q id='Oh3Eo'></q></dir></style></legend><tfoot id='Oh3Eo'></tfoot>

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

                          <tbody id='Oh3Eo'></tbody>
                        • <small id='Oh3Eo'></small><noframes id='Oh3Eo'>