MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
A. Numeric type
MySQL supports numeric types in all standard SQL, including strict data types (integer,smallint,decimal,numberic), and approximate numeric data types (float,real,double presision). And on this basis to expand.
After the expansion,
1. Integral type
MySQL data type
Meaning (Signed)
tinyint (m)
1 byte range ( -128~127)
smallint (m)
2 byte range ( -32768~32767)
Mediumint (M)
3 byte range ( -8388608~8388607)
MySQL basics 06 data type (6) type conversion, mysql Data Type1.Cast () Usage
In MySQL, cast (value as target type) syntax can be used for conversion of most types.
Cast must be followed by left parentheses:
Mysql> select cast (123 as char );
+ ---
MYSQL getting started 4: MYSQL data type bitsCN.com
MYSQL entry 4: MYSQL data types
Related links:
MYSQL: Basic operations
Http: // database/201212/173868 .html
MYSQL 2: use regular expressions to search
Http: // database/201212/173869 .html
MYSQL
Mysql Data Type
I. Numerical type
Mysql supports all numeric types in standard SQL, including strict data types (INTEGER, SMALLINT, DECIMAL, NUMBERIC), and approximate numeric data types (FLOAT, REAL, DOUBLE PRESISION ), in addition, it is extended.
ArticleDirectory
Int type
Float, double, and decimal types
Char and varchar types
Text and blob types
Date, time, and tear types
Dateyime and timestamp types
Enum type
Set Type
Value Type
MySQL numeric data
Numeric typeMySQL supports all numeric types in standard SQL, including strict data types, INTEGER,SMALLINT,DECIMAL, NUMBERIC as well as approximate numeric data types FLOAT,REAL,DOUBLE PRESISION , and expands on this basis. This extension adds
Henan College of Traditional Chinese Medicine
Course Design Report of MySQL Database Management
Title: Research and Implementation of MySQL Clusters
Completion date:2012January 1, December 31
Contents
1. Course Design overview 3
2. research
Next, I will provide a summary of mysql Data Types, that is, field types, including type descriptions and string lengths of different data types. I will introduce them below.
I. numeric type
Storage required for column typesTINYINT 1 byteSMALLINT 2
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.