: Char Varchar : Data Types MySQL TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
MySQL TUTORIALS
»
Data Types
»
Char Varchar
»
112.1 .
If a given value is stored into the CHAR(4) and VARCHAR(4) columns, the trailing spaces of values retrieved from the columns are removed from CHAR columns.
Hits: 1156
112.2 .
All CHAR and VARCHAR values in MySQL are compared without regard to any trailing spaces
Hits: 1313
112.3 .
VARCHAR column with default value
Hits: 1277
112.4 .
Set column default value for VARCHAR
Hits: 1522
112.5 .
Differences between CHAR and VARCHAR
Hits: 1305
112.6 .
CHAR and VARCHAR
Hits: 1355
MySQL TUTORIALS
Data Types
»
Char Varchar
BIGINT
INT
Bit
INTERVAL
BLOB
Introduction
Boolean
MEDIUMINT
Char Varchar
NULL
Date
Set
DATETIME
SMALLINT
Decimal
String
Double
TEXT
ENUM
TIME
FLOAT
Timestamp
FULLTEXT
TINYINT
Hexadecimal
YEAR
Aggregate Functions
Cast Functions Operators
Comparison Functions Operators
Control Flow Functions
Cursor
Data Dictionary
Data Types
Database
Date Time Functions
Encryption Compression Functions
Information Functions
Insert Update Delete
Introduction
Logic Operator
Math Numeric Functions
Miscellaneous Functions
MySQL Utilities
Privilege
Procedure Function
Regular Expressions
Select Query
String Functions
Subquery
Table
Table Join
Trigger
View