/*
mysql> Drop table Product;
Query OK, 0 rows affected (0.01 sec)
mysql> CREATE TABLE Product
-> (
-> ID SMALLINT UNSIGNED,
-> Name VARCHAR(40),
-> DescriptionDoc TEXT CHARACTER SET latin1 COLLATE latin1_bin
-> );
Query OK, 0 rows affected (0.12 sec)
mysql> Describe Product;
+----------------+----------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+----------------------+------+-----+---------+-------+
| ID | smallint(5) unsigned | YES | | NULL | |
| Name | varchar(40) | YES | | NULL | |
| DescriptionDoc | text | YES | | NULL | |
+----------------+----------------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
*/
Drop table Product;
CREATE TABLE Product
(
ID SMALLINT UNSIGNED,
Name VARCHAR(40),
DescriptionDoc TEXT CHARACTER SET latin1 COLLATE latin1_bin
);
Describe Product;
|