Begin;
Initialize;
InitializeSession "TESTDB";
Command "create database TESTDB";
TerminateSession;
InitializeSession "TESTDB";
Command "create table T_3 (col1 decimal(36,36))";
Command "create index I_T_3 on T_3(col1)";
Command "insert T_3 values (0), (0.210987654321098765432109876543210987), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109)";
Command "insert T_3 values (-1)";
Command "insert T_3 values (-65.4)";
Command "insert T_3 values (-210987654321098765)";
Command "insert T_3 values (-1)";
Command "insert T_3 values (21.0)";
Command "insert T_3 values (654)";
Command "select * from T_3";
Command "drop table T_3";
Command "create table T_6 (col1 decimal(36,0))";
Command "create index I_T_6 on T_6(col1)";
Command "insert T_6 values (0), (-1), (0.210987654321098765432109876543210987), (-65.4), (null), (-210987654321098765), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1), (21.0), (654)";
Command "select * from T_6";
Command "drop table T_6";
Command "create table T_9 (col1 decimal(36,18))";
Command "create index I_T_9 on T_9(col1)";
Command "insert T_9 values (0), (-1), (0.210987654321098765432109876543210987), (-65.4), (null), (-210987654321098765), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1), (21.0), (654)";
Command "select * from T_9";
Command "drop table T_9";
Command "create table T_5 (col1 decimal(10,0))";
Command "create index I_T_5 on T_5(col1)";
Command "insert T_5 values (0), (-1), (0.210987654321098765432109876543210987), (-65.4), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1), (21.0), (654)";
Command "insert T_5 values (-210987654321098765)";
Command "select * from T_5";
Command "drop table T_5";
Command "create table T_1 (col1 decimal(2,0))";
Command "create index I_T_1 on T_1(col1)";
Command "insert T_1 values (0), (-1), (0.210987654321098765432109876543210987), (-65.4), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1), (21.0)";
Command "insert T_1 values (-210987654321098765)";
Command "insert T_1 values (654)";
Command "select * from T_1";
Command "drop table T_1";
Command "create table T_4 (col1 decimal(2,1))";
Command "create index I_T_4 on T_4(col1)";
Command "insert T_4 values (0), (-1), (0.210987654321098765432109876543210987), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1)";
Command "insert T_4 values (-65.4)";
Command "insert T_4 values (-210987654321098765)";
Command "insert T_4 values (21.0)";
Command "insert T_4 values (654)";
Command "select * from T_4";
Command "drop table T_4";
Command "create table T_7 (col1 decimal(2,2))";
Command "create index I_T_7 on T_7(col1)";
Command "insert T_7 values (0), (0.210987654321098765432109876543210987), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109)";
Command "insert T_7 values (-1)";
Command "insert T_7 values (-65.4)";
Command "insert T_7 values (-210987654321098765)";
Command "insert T_7 values (-1)";
Command "insert T_7 values (21.0)";
Command "insert T_7 values (654)";
Command "select * from T_7";
Command "drop table T_7";
Command "create table T_8 (col1 decimal(10,10))";
Command "create index I_T_8 on T_8(col1)";
Command "insert T_8 values (0), (0.210987654321098765432109876543210987), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109)";
Command "insert T_8 values (-1)";
Command "insert T_8 values (-65.4)";
Command "insert T_8 values (-210987654321098765)";
Command "insert T_8 values (-1)";
Command "insert T_8 values (21.0)";
Command "insert T_8 values (654)";
Command "select * from T_8";
Command "drop table T_8";
Command "create table T_2 (col1 decimal(10,5))";
Command "create index I_T_2 on T_2(col1)";
Command "insert T_2 values (0), (-1), (0.210987654321098765432109876543210987), (-65.4), (null), (-0.654321098765432109876543210987654321), (null), (0.654321098765432109), (-1), (21.0), (654)";
Command "insert T_2 values (-210987654321098765)";
Command "select * from T_2";
Command "drop table T_2";
TerminateSession;
InitializeSession "TESTDB";
Command "drop database TESTDB";
TerminateSession;
Terminate;
End;
