VARCHAR(n) character string with variable length, maximum 65,535 characters : Varchar « Data Type « SQL / MySQL






VARCHAR(n) character string with variable length, maximum 65,535 characters

  
mysql>
mysql> CREATE TABLE employee(
    ->     id INT,
    ->     eName VARCHAR(10)
    -> );
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> drop table employee;
Query OK, 0 rows affected (0.00 sec)

   
    
  








Related examples in the same category

1.Define and use varchar
2.Varchar type column with collate latin1_german1_ci
3.CHAR and VARCHAR types are searched case insensitively, unless you use the BINARY keyword.
4.Not null varchar column
5.Nullable varchar column
6.Compare varchar value