adding test scripts
[csql.git] / test / tools / csql / csql4.sql
blob39790e47ca48069533e1adaf5b3da7b8cee8313f
1 echo all data type create, insert, select test;
2 echo create table t1 (f1 char(10), f2 tinyint, f3 smallint,f4 int, f5 bigint,f6 integer, f7 float, f8 real,f9 double,f10 long,f11 binary(128),f12 date,f13 time,f14 timestamp);
3 create table t1 (f1 char(10), f2 tinyint, f3 smallint,f4 int, f5 bigint,f6 integer, f7 float, f8 real,f9 double,f10 long,f11 binary(128),f12 date,f13 time,f14 timestamp);
4 echo insert into t1 values('CSQL', -128, -32768, -2147483648, -9223372036854775808, -2147483648, -3.4e38, -3.4e38, -1.7e308, -9223372036854775808,'ABCDEF0123456789','00/00/00', '00:00:00', '00-00-00 00:00:00');
5 insert into t1 values('CSQL', -128, -32768, -2147483648, -9223372036854775808, -2147483648, -3.4e38, -3.4e38, -1.7e308, -9223372036854775808,'ABCDEF0123456789','00/00/00', '00:00:00', '00-00-00 00:00:00');
6 echo insert into t1 values('NIHAR', 127, 32767, 2147483647, 9223372036854775807, 2147483647, 3.4e38, 3.4e38, 1.7e308, 9223372036854775807,'ABCDEF0123456789','9999/12/31', '23:59:59', '9999/12/31 23:59:59');
7 insert into t1 values('NIHAR', 127, 32767, 2147483647, 9223372036854775807, 2147483647, 3.4e38, 3.4e38, 1.7e308, 9223372036854775807,'ABCDEF0123456789','9999/12/31', '23:59:59', '9999/12/31 23:59:59');
8 select * from t1;
9 drop table t1;