Rechercher dans le manuel MySQL

Displaying 1 to 10 of 20 total results
https://dev.mysql.com/integer-types.html
As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. The following table shows the required storage and range for each ...
https://dev.mysql.com/example-auto-increment.html
See Section 11.2.1, “Integer Types (Exact Value) - INTEGER, INT, SMALLINT, TINYINT, MEDIUMINT, BIGINT” for the ranges of all the integer types. You can also explicitly assign 0 to the column to generate sequence numbers, unless the ...
https://dev.mysql.com/storage-requirements.html
For example, in NDB tables, the TINYINT, SMALLINT, MEDIUMINT, and INTEGER (INT) column types each require 4 bytes storage per record due to the alignment factor. InnoDB Table Storage Requirements NDB Table Storage Requirements Numeric Type Storage ...
https://dev.mysql.com/other-vendor-data-types.html
To facilitate the use of code written for SQL implementations from other vendors, MySQL maps data types as shown in the following table. These mappings make it easier to import table definitions from other database systems into MySQL. If you create ...
https://dev.mysql.com/data-size.html
MEDIUMINT is often a better choice than INT because a MEDIUMINT column uses 25% less space. Design your tables to minimize their space on the disk. This can result in huge improvements by reducing the amount of data written to and read from disk.
https://dev.mysql.com/c-api-prepared-statement-type-conversions.html
If you fetch an SQL MEDIUMINT column value, but specify a buffer_type value of MYSQL_TYPE_LONGLONG and use a C variable of type long long int as the destination buffer, MySQL converts the MEDIUMINT value (which requires less than 8 bytes) for ...
https://dev.mysql.com/numeric-type-overview.html
For additional information about properties and storage requirements of the numeric types, see Section 11.2, “Numeric Types”, and Section 11.8, “Data Type Storage Requirements”. Display width is unrelated to the range of values a type can ...
https://dev.mysql.com/extensions-to-ansi.html
Data types The MEDIUMINT, SET, and ENUM data types, and the various BLOB and TEXT data types. MySQL Server supports some extensions that you probably will not find in other SQL DBMSs. Be warned that if you use them, your code will not be portable ...
https://dev.mysql.com/choosing-types.html
For example, if an integer column is used for values in the range from 1 to 99999, MEDIUMINT UNSIGNED is the best type. For optimum storage, you should try to use the most precise type in all cases. Of the types that represent all the required ...
https://dev.mysql.com/partitioning-columns.html
The permitted data types are shown in the following list: All integer types: TINYINT, SMALLINT, MEDIUMINT, INT (INTEGER), and BIGINT. The next two sections discuss COLUMNS partitioning, which are variants on RANGE and LIST partitioning. COLUMNS ...
Displaying 1 to 10 of 20 total results

Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-fct-mediumint-p-1.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut