-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtest_table.sql
41 lines (41 loc) · 1007 Bytes
/
test_table.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
CREATE TABLE test_types (
`bit` bit,
`tinyint` tinyint,
`smallint` smallint,
`mediumint` mediumint,
`int` int,
`integer` integer,
`bigint` bigint,
`real` real,
`double` double,
`float` float,
`decimal` decimal,
`numeric` numeric,
`char` char,
`varchar` varchar(255),
`date` date,
`time` time,
`year` year,
`timestamp` timestamp,
`datetime` datetime,
`tinyblob` tinyblob,
`blob` blob,
`mediumblob` mediumblob,
`longblob` longblob,
`tinytext` tinytext,
`text` text,
`mediumtext` mediumtext,
`longtext` longtext,
`enum` enum('value1', 'value2', 'value3'),
`set` set('value1', 'value2', 'value3'),
`binary` binary,
`varbinary` varbinary(1024),
`point` point,
`linestring` linestring,
`polygon` polygon,
`geometry` geometry,
`multipoint` multipoint,
`multilinestring` multilinestring,
`multipolygon` multipolygon,
`geometrycollection` geometrycollection
);