Varchar type column with collate latin1_german1_ci : Varchar « Data Type « SQL / MySQL






Varchar type column with collate latin1_german1_ci

  
mysql>
mysql> CREATE TABLE categories (
    ->   id int(11) NOT NULL auto_increment,
    ->   catName varchar(60) collate latin1_german1_ci NOT NULL default '',
    ->   PRIMARY KEY (id)
    -> );
Query OK, 0 rows affected (0.01 sec)

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

mysql>
mysql>

   
    
  








Related examples in the same category

1.Define and use varchar
2.VARCHAR(n) character string with variable length, maximum 65,535 characters
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