--- $Header: /home/faga/work/sqlfairy_svn/sqlfairy-cvsbackup/sqlfairy/t/data/mysql/entire_syntax.sql,v 1.1 2003-08-17 00:42:08 rossta Exp $
+-- $Header: /home/faga/work/sqlfairy_svn/sqlfairy-cvsbackup/sqlfairy/t/data/mysql/entire_syntax.sql,v 1.2 2003-08-17 01:41:48 rossta Exp $
-- all data types
DROP TABLE IF EXISTS t01;
i06 BIGINT,
r01 REAL,
r02 DOUBLE,
- r03 FLOAT,
+ r03 DOUBLE PRECISION,
+ r04 FLOAT,
n01 DECIMAL,
n02 NUMERIC,
c01 CHAR(10),
i16 BIGINT(1),
r11 REAL(2,1),
r12 DOUBLE(2,1),
- r13 FLOAT(1),
- r14 FLOAT(2,1),
+ r13 DOUBLE PRECISION(2,1),
+ r14 FLOAT(1),
+ r15 FLOAT(2,1),
n11 DECIMAL(1),
n12 DECIMAL(2,1),
n13 NUMERIC(2),
i06 BIGINT NOT NULL,
r01 REAL NOT NULL,
r02 DOUBLE NOT NULL,
- r03 FLOAT NOT NULL,
+ r03 DOUBLE PRECISION NOT NULL,
+ r04 FLOAT NOT NULL,
n01 DECIMAL NOT NULL,
n02 NUMERIC NOT NULL,
c01 CHAR(10) NOT NULL,
i16 BIGINT(1) NOT NULL,
r11 REAL(2,1) NOT NULL,
r12 DOUBLE(2,1) NOT NULL,
- r13 FLOAT(1) NOT NULL,
- r14 FLOAT(2,1) NOT NULL,
+ r13 DOUBLE PRECISION(2,1) NOT NULL,
+ r14 FLOAT(1) NOT NULL,
+ r15 FLOAT(2,1) NOT NULL,
n11 DECIMAL(1) NOT NULL,
n12 DECIMAL(2,1) NOT NULL,
n13 NUMERIC(2) NOT NULL,
i06 BIGINT DEFAULT 0,
r01 REAL DEFAULT 0,
r02 DOUBLE DEFAULT 0,
- r03 FLOAT DEFAULT 0,
+ r03 DOUBLE PRECISION DEFAULT 0,
+ r04 FLOAT DEFAULT 0,
n01 DECIMAL DEFAULT 0,
n02 NUMERIC DEFAULT 0,
c01 CHAR(10) DEFAULT '',
i16 BIGINT(1) DEFAULT 0,
r11 REAL(2,1) DEFAULT 0,
r12 DOUBLE(2,1) DEFAULT 0,
- r13 FLOAT(1) DEFAULT 0,
- r14 FLOAT(2,1) DEFAULT 0,
+ r13 DOUBLE PRECISION(2,1) DEFAULT 0,
+ r14 FLOAT(1) DEFAULT 0,
+ r15 FLOAT(2,1) DEFAULT 0,
n11 DECIMAL(1) DEFAULT 0,
n12 DECIMAL(2,1) DEFAULT 0,
n13 NUMERIC(2) DEFAULT 0,
i06 BIGINT NOT NULL DEFAULT 0,
r01 REAL NOT NULL DEFAULT 0,
r02 DOUBLE NOT NULL DEFAULT 0,
- r03 FLOAT NOT NULL DEFAULT 0,
+ r03 DOUBLE PRECISION NOT NULL DEFAULT 0,
+ r04 FLOAT NOT NULL DEFAULT 0,
n01 DECIMAL NOT NULL DEFAULT 0,
n02 NUMERIC NOT NULL DEFAULT 0,
c01 CHAR(10) NOT NULL DEFAULT '',
i16 BIGINT(1) NOT NULL DEFAULT 0,
r11 REAL(2,1) NOT NULL DEFAULT 0,
r12 DOUBLE(2,1) NOT NULL DEFAULT 0,
- r13 FLOAT(1) NOT NULL DEFAULT 0,
- r14 FLOAT(2,1) NOT NULL DEFAULT 0,
+ r13 DOUBLE PRECISION(2,1) NOT NULL DEFAULT 0,
+ r14 FLOAT(1) NOT NULL DEFAULT 0,
+ r15 FLOAT(2,1) NOT NULL DEFAULT 0,
n11 DECIMAL(1) NOT NULL DEFAULT 0,
n12 DECIMAL(2,1) NOT NULL DEFAULT 0,
n13 NUMERIC(2) NOT NULL DEFAULT 0,
-- /* i06 BIGINT NULL,
-- /* r01 REAL NULL,
-- /* r02 DOUBLE NULL,
--- /* r03 FLOAT NULL,
+-- /* r03 DOUBLE PRECISION NULL,
+-- /* r04 FLOAT NULL,
-- /* n01 DECIMAL NULL,
-- /* n02 NUMERIC NULL,
-- /* c01 CHAR(10) NULL,
-- /* i16 BIGINT(1) NULL,
-- /* r11 REAL(2,1) NULL,
-- /* r12 DOUBLE(2,1) NULL,
--- /* r13 FLOAT(1) NULL,
--- /* r14 FLOAT(2,1) NULL,
+-- /* r13 DOUBLE PRECISION(2,1) NULL,
+-- /* r14 FLOAT(1) NULL,
+-- /* r15 FLOAT(2,1) NULL,
-- /* n11 DECIMAL(1) NULL,
-- /* n12 DECIMAL(2,1) NULL,
-- /* n13 NUMERIC(2) NULL,
-- /* i06 BIGINT NULL DEFAULT 0,
-- /* r01 REAL NULL DEFAULT 0,
-- /* r02 DOUBLE NULL DEFAULT 0,
--- /* r03 FLOAT NULL DEFAULT 0,
+-- /* r03 DOUBLE PRECISION NULL DEFAULT 0,
+-- /* r04 FLOAT NULL DEFAULT 0,
-- /* n01 DECIMAL NULL DEFAULT 0,
-- /* n02 NUMERIC NULL DEFAULT 0,
-- /* c01 CHAR(10) NULL DEFAULT '',
-- /* i16 BIGINT(1) NULL DEFAULT 0,
-- /* r11 REAL(2,1) NULL DEFAULT 0,
-- /* r12 DOUBLE(2,1) NULL DEFAULT 0,
--- /* r13 FLOAT(1) NULL DEFAULT 0,
--- /* r14 FLOAT(2,1) NULL DEFAULT 0,
+-- /* r13 DOUBLE PRECISION(2,1) NULL DEFAULT 0,
+-- /* r14 FLOAT(1) NULL DEFAULT 0,
+-- /* r15 FLOAT(2,1) NULL DEFAULT 0,
-- /* n11 DECIMAL(1) NULL DEFAULT 0,
-- /* n12 DECIMAL(2,1) NULL DEFAULT 0,
-- /* n13 NUMERIC(2) NULL DEFAULT 0,
i06 BIGINT UNSIGNED NOT NULL DEFAULT 0,
r01 REAL UNSIGNED NOT NULL DEFAULT 0,
r02 DOUBLE UNSIGNED NOT NULL DEFAULT 0,
- r03 FLOAT UNSIGNED NOT NULL DEFAULT 0,
+ r03 DOUBLE PRECISION UNSIGNED NOT NULL DEFAULT 0,
+ r04 FLOAT UNSIGNED NOT NULL DEFAULT 0,
n01 DECIMAL UNSIGNED NOT NULL DEFAULT 0,
n02 NUMERIC UNSIGNED NOT NULL DEFAULT 0,
i16 BIGINT(1) UNSIGNED NOT NULL DEFAULT 0,
r11 REAL(2,1) UNSIGNED NOT NULL DEFAULT 0,
r12 DOUBLE(2,1) UNSIGNED NOT NULL DEFAULT 0,
- r13 FLOAT(1) UNSIGNED NOT NULL DEFAULT 0,
- r14 FLOAT(2,1) UNSIGNED NOT NULL DEFAULT 0,
+ r13 DOUBLE PRECISION(2,1) UNSIGNED NOT NULL DEFAULT 0,
+ r14 FLOAT(1) UNSIGNED NOT NULL DEFAULT 0,
+ r15 FLOAT(2,1) UNSIGNED NOT NULL DEFAULT 0,
n11 DECIMAL(1) UNSIGNED NOT NULL DEFAULT 0,
n12 DECIMAL(2,1) UNSIGNED NOT NULL DEFAULT 0,
n13 NUMERIC(2) UNSIGNED NOT NULL DEFAULT 0,
i06 BIGINT ZEROFILL NOT NULL DEFAULT 0,
r01 REAL ZEROFILL NOT NULL DEFAULT 0,
r02 DOUBLE ZEROFILL NOT NULL DEFAULT 0,
- r03 FLOAT ZEROFILL NOT NULL DEFAULT 0,
+ r03 DOUBLE PRECISION ZEROFILL NOT NULL DEFAULT 0,
+ r04 FLOAT ZEROFILL NOT NULL DEFAULT 0,
n01 DECIMAL ZEROFILL NOT NULL DEFAULT 0,
n02 NUMERIC ZEROFILL NOT NULL DEFAULT 0,
i16 BIGINT(1) ZEROFILL NOT NULL DEFAULT 0,
r11 REAL(2,1) ZEROFILL NOT NULL DEFAULT 0,
r12 DOUBLE(2,1) ZEROFILL NOT NULL DEFAULT 0,
- r13 FLOAT(1) ZEROFILL NOT NULL DEFAULT 0,
- r14 FLOAT(2,1) ZEROFILL NOT NULL DEFAULT 0,
+ r13 DOUBLE PRECISION(2,1) ZEROFILL NOT NULL DEFAULT 0,
+ r14 FLOAT(1) ZEROFILL NOT NULL DEFAULT 0,
+ r15 FLOAT(2,1) ZEROFILL NOT NULL DEFAULT 0,
n11 DECIMAL(1) ZEROFILL NOT NULL DEFAULT 0,
n12 DECIMAL(2,1) ZEROFILL NOT NULL DEFAULT 0,
n13 NUMERIC(2,1) ZEROFILL NOT NULL DEFAULT 0,
i06 BIGINT UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
r01 REAL UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
r02 DOUBLE UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
- r03 FLOAT UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ r03 DOUBLE PRECISION UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ r04 FLOAT UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
n01 DECIMAL UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
n02 NUMERIC UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
i16 BIGINT(1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
r11 REAL(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
r12 DOUBLE(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
- r13 FLOAT(1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
- r14 FLOAT(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ r13 DOUBLE PRECISION(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ r14 FLOAT(1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ r15 FLOAT(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
n11 DECIMAL(1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
- n12 DECIMAL(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0
+ n12 DECIMAL(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
n13 NUMERIC(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
- n14 NUMERIC(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0,
+ n14 NUMERIC(2,1) UNSIGNED ZEROFILL NOT NULL DEFAULT 0
);
-- all keys