Begin;
Initialize;
InitializeSession "TESTDB";
Command "create database TESTDB";
TerminateSession;
InitializeSession "TESTDB";
Command "create table T_2_0 (dec1 decimal(2,0))";
Command "insert T_2_0 values (null), (0), (1), (-1), (21), (-21), (65), (-65)";
Command "create index I_T_2_0_dec1 on T_2_0(dec1)";
Command "create table T_10_5 (dec1 decimal(10,5))";
Command "insert T_10_5 values (null), (0), (1), (-1), (21098.76543), (-21098.76543), (65432.10987), (-65432.10987)";
Command "create index I_T_10_5_dec1 on T_10_5(dec1)";
Command "create table T_36_36 (dec1 decimal(36,36))";
Command "insert T_36_36 values (null), (0), (0.210987654321098765432109876543210987), (-0.210987654321098765432109876543210987), (0.654321098765432109876543210987654321), (-0.654321098765432109876543210987654321)";
Command "create index I_T_36_36_dec1 on T_36_36(dec1)";
Command "create table T_2_1 (dec1 decimal(2,1))";
Command "insert T_2_1 values (null), (0), (1), (-1), (2.1), (-2.1), (6.5), (-6.5)";
Command "create index I_T_2_1_dec1 on T_2_1(dec1)";
Command "create table T_10_0 (dec1 decimal(10,0))";
Command "insert T_10_0 values (null), (0), (1), (-1), (2109876543), (-2109876543), (6543210987), (-6543210987)";
Command "create index I_T_10_0_dec1 on T_10_0(dec1)";
Command "create table T_36_18 (dec1 decimal(36,18))";
Command "insert T_36_18 values (null), (0), (1), (-1), (210987654321098765.432109876543210987), (-210987654321098765.432109876543210987), (654321098765432109.876543210987654321), (-654321098765432109.876543210987654321)";
Command "create index I_T_36_18_dec1 on T_36_18(dec1)";
Command "create table T_10_10 (dec1 decimal(10,10))";
Command "insert T_10_10 values (null), (0), (0.2109876543), (-0.2109876543), (0.6543210987), (-0.6543210987)";
Command "create index I_T_10_10_dec1 on T_10_10(dec1)";
Command "create table T_36_0 (dec1 decimal(36,0))";
Command "insert T_36_0 values (null), (0), (1), (-1), (210987654321098765432109876543210987), (-210987654321098765432109876543210987), (654321098765432109876543210987654321), (-654321098765432109876543210987654321)";
Command "create index I_T_36_0_dec1 on T_36_0(dec1)";
Command "select * from T_36_18 where dec1 != 0.210987654321098765432109876543210987";
Command "select * from T_36_18 where dec1 = -65.4";
Command "select * from T_36_18 where dec1 > -0.654321098765432109876543210987654321";
Command "select * from T_36_18 where dec1 < null";
Command "select * from T_36_18 where dec1 >= 0.654321098765432109";
Command "select * from T_36_18 where dec1 <= -1";
Command "select * from T_36_18 where dec1 > 0";
Command "select * from T_36_18 where dec1 < -1";
Command "select * from T_36_18 where dec1 >= null";
Command "select * from T_36_18 where dec1 <= -210987654321098765";
Command "select * from T_36_18 where dec1 >= 21.0";
Command "select * from T_36_18 where dec1 <= 654";
Command "select * from T_10_0 where dec1 = 0";
Command "select * from T_10_0 where dec1 != -1";
Command "select * from T_10_0 where dec1 < 0.210987654321098765432109876543210987";
Command "select * from T_10_0 where dec1 > -65.4";
Command "select * from T_10_0 where dec1 <= null";
Command "select * from T_10_0 where dec1 >= -210987654321098765";
Command "select * from T_10_0 where dec1 != 0";
Command "select * from T_10_0 where dec1 = -1";
Command "select * from T_10_0 where dec1 > 0.210987654321098765432109876543210987";
Command "select * from T_10_0 where dec1 < -65.4";
Command "select * from T_10_0 where dec1 >= null";
Command "select * from T_10_0 where dec1 <= -210987654321098765";
Command "select * from T_10_0 where dec1 <= -0.654321098765432109876543210987654321";
Command "select * from T_10_0 where dec1 >= null";
Command "select * from T_10_0 where dec1 < 0.654321098765432109";
Command "select * from T_10_0 where dec1 > -1";
Command "select * from T_10_0 where dec1 < 21.0";
Command "select * from T_10_0 where dec1 > 654";
Command "select * from T_10_0 where dec1 >= -0.654321098765432109876543210987654321";
Command "select * from T_10_0 where dec1 <= null";
Command "select * from T_10_0 where dec1 > 0.654321098765432109";
Command "select * from T_10_0 where dec1 < -1";
Command "select * from T_10_0 where dec1 > 21.0";
Command "select * from T_10_0 where dec1 < 654";
Command "select * from T_36_36 where dec1 <= 0";
Command "select * from T_36_36 where dec1 >= -1";
Command "select * from T_36_36 where dec1 < 0.210987654321098765432109876543210987";
Command "select * from T_36_36 where dec1 > -65.4";
Command "select * from T_36_36 where dec1 < null";
Command "select * from T_36_36 where dec1 > -210987654321098765";
Command "select * from T_36_36 where dec1 = -0.654321098765432109876543210987654321";
Command "select * from T_36_36 where dec1 != null";
Command "select * from T_36_36 where dec1 = 0.210987654321098765432109876543210987";
Command "select * from T_36_36 where dec1 != -65.4";
Command "select * from T_36_36 where dec1 < -0.654321098765432109876543210987654321";
Command "select * from T_36_36 where dec1 > null";
Command "select * from T_36_36 where dec1 <= 0.654321098765432109";
Command "select * from T_36_36 where dec1 >= -1";
Command "select * from T_36_36 where dec1 <= 0.654321098765432109";
Command "select * from T_36_36 where dec1 >= -1";
Command "select * from T_36_36 where dec1 = 21.0";
Command "select * from T_36_36 where dec1 != 654";
Command "select * from T_36_36 where dec1 < 0";
Command "select * from T_36_36 where dec1 > -1";
Command "select * from T_36_36 where dec1 <= null";
Command "select * from T_36_36 where dec1 >= -210987654321098765";
Command "select * from T_36_36 where dec1 <= 21.0";
Command "select * from T_36_36 where dec1 >= 654";
Command "select * from T_10_5 where dec1 > 0";
Command "select * from T_10_5 where dec1 < -1";
Command "select * from T_10_5 where dec1 >= 0.210987654321098765432109876543210987";
Command "select * from T_10_5 where dec1 <= -65.4";
Command "select * from T_10_5 where dec1 != null";
Command "select * from T_10_5 where dec1 = -210987654321098765";
Command "select * from T_10_5 where dec1 >= 21.0";
Command "select * from T_10_5 where dec1 <= 654";
Command "select * from T_10_5 where dec1 > -0.654321098765432109876543210987654321";
Command "select * from T_10_5 where dec1 < null";
Command "select * from T_10_5 where dec1 != 0.654321098765432109";
Command "select * from T_10_5 where dec1 = -1";
Command "select * from T_36_0 where dec1 >= -0.654321098765432109876543210987654321";
Command "select * from T_36_0 where dec1 <= null";
Command "select * from T_36_0 where dec1 > 0.654321098765432109";
Command "select * from T_36_0 where dec1 < -1";
Command "select * from T_36_0 where dec1 != 21.0";
Command "select * from T_36_0 where dec1 = 654";
Command "select * from T_36_0 where dec1 != 0";
Command "select * from T_36_0 where dec1 = -1";
Command "select * from T_36_0 where dec1 >= 0.210987654321098765432109876543210987";
Command "select * from T_36_0 where dec1 <= -65.4";
Command "select * from T_36_0 where dec1 > null";
Command "select * from T_36_0 where dec1 < -210987654321098765";
Command "select * from T_10_10 where dec1 <= -0.654321098765432109876543210987654321";
Command "select * from T_10_10 where dec1 >= null";
Command "select * from T_10_10 where dec1 < 0.654321098765432109";
Command "select * from T_10_10 where dec1 > -1";
Command "select * from T_10_10 where dec1 = 21.0";
Command "select * from T_10_10 where dec1 != 654";
Command "select * from T_10_10 where dec1 = 0";
Command "select * from T_10_10 where dec1 != -1";
Command "select * from T_10_10 where dec1 <= 0.210987654321098765432109876543210987";
Command "select * from T_10_10 where dec1 >= -65.4";
Command "select * from T_10_10 where dec1 < null";
Command "select * from T_10_10 where dec1 > -210987654321098765";
Command "select * from T_2_1 where dec1 >= 0";
Command "select * from T_2_1 where dec1 <= -1";
Command "select * from T_2_1 where dec1 > 0.210987654321098765432109876543210987";
Command "select * from T_2_1 where dec1 < -65.4";
Command "select * from T_2_1 where dec1 > null";
Command "select * from T_2_1 where dec1 < -210987654321098765";
Command "select * from T_2_1 where dec1 != -0.654321098765432109876543210987654321";
Command "select * from T_2_1 where dec1 = null";
Command "select * from T_2_1 where dec1 = 0.654321098765432109";
Command "select * from T_2_1 where dec1 != -1";
Command "select * from T_2_1 where dec1 < 21.0";
Command "select * from T_2_1 where dec1 > 654";
Command "select * from T_2_1 where dec1 <= 0";
Command "select * from T_2_1 where dec1 >= -1";
Command "select * from T_2_1 where dec1 >= 0.654321098765432109";
Command "select * from T_2_1 where dec1 <= -1";
Command "select * from T_2_1 where dec1 != 21.0";
Command "select * from T_2_1 where dec1 = 654";
Command "select * from T_2_1 where dec1 = 0.210987654321098765432109876543210987";
Command "select * from T_2_1 where dec1 != -65.4";
Command "select * from T_2_1 where dec1 < null";
Command "select * from T_2_1 where dec1 > -210987654321098765";
Command "select * from T_2_1 where dec1 <= -0.654321098765432109876543210987654321";
Command "select * from T_2_1 where dec1 >= null";
Command "select * from T_2_0 where dec1 < 0";
Command "select * from T_2_0 where dec1 > -1";
Command "select * from T_2_0 where dec1 <= 0.210987654321098765432109876543210987";
Command "select * from T_2_0 where dec1 >= -65.4";
Command "select * from T_2_0 where dec1 = null";
Command "select * from T_2_0 where dec1 != -210987654321098765";
Command "select * from T_2_0 where dec1 != 0.654321098765432109";
Command "select * from T_2_0 where dec1 = -1";
Command "select * from T_2_0 where dec1 > 21.0";
Command "select * from T_2_0 where dec1 < 654";
Command "select * from T_2_0 where dec1 >= 0";
Command "select * from T_2_0 where dec1 <= -1";
Command "select * from T_2_0 where dec1 <= 21.0";
Command "select * from T_2_0 where dec1 >= 654";
Command "select * from T_2_0 where dec1 < -0.654321098765432109876543210987654321";
Command "select * from T_2_0 where dec1 > null";
Command "select * from T_2_0 where dec1 = 0.654321098765432109";
Command "select * from T_2_0 where dec1 != -1";
Command "select * from T_2_0 where dec1 != 0.210987654321098765432109876543210987";
Command "select * from T_2_0 where dec1 = -65.4";
Command "select * from T_2_0 where dec1 > null";
Command "select * from T_2_0 where dec1 < -210987654321098765";
Command "select * from T_2_0 where dec1 >= -0.654321098765432109876543210987654321";
Command "select * from T_2_0 where dec1 <= null";
Command "drop table T_2_1";
Command "drop table T_36_36";
Command "drop table T_36_0";
Command "drop table T_10_0";
Command "drop table T_10_5";
Command "drop table T_2_0";
Command "drop table T_36_18";
Command "drop table T_10_10";
TerminateSession;
InitializeSession "TESTDB";
Command "drop database TESTDB";
TerminateSession;
Terminate;
End;
