Begin;
Initialize;
InitializeSession "TESTDB";
Command "create database TESTDB";
TerminateSession;
InitializeSession "TESTDB";
Command "create table T_1 (col1 decimal(2,0), col2 char(2))";
Command "insert T_1(col1) values (0)";
Command "update T_1 set col2 = col1";
Command "select * from T_1";
Command "update T_1 set col2 = null";
Command "update T_1 set col2 = 0";
Command "select * from T_1";
Command "drop table T_1";
Command "create table T_2 (col1 decimal(18,9), col2 char(2))";
Command "insert T_2(col1) values (-1)";
# error StringRightTruncation is expected
Command "update T_2 set col2 = col1";
Command "select * from T_2";
Command "update T_2 set col2 = null";
Command "update T_2 set col2 = -1";
Command "select * from T_2";
Command "drop table T_2";
Command "create table T_3 (col1 decimal(36,36), col2 char(2))";
Command "insert T_3(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_3 set col2 = col1";
Command "select * from T_3";
Command "update T_3 set col2 = null";
# error StringRightTruncation is expected
Command "update T_3 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_3";
Command "drop table T_3";
Command "create table T_4 (col1 decimal(2,1), col2 char(2))";
Command "insert T_4(col1) values (-6.5)";
# error StringRightTruncation is expected
Command "update T_4 set col2 = col1";
Command "select * from T_4";
Command "update T_4 set col2 = null";
# error StringRightTruncation is expected
Command "update T_4 set col2 = -6.5";
Command "select * from T_4";
Command "drop table T_4";
Command "create table T_5 (col1 decimal(18,0), col2 char(2))";
Command "insert T_5(col1) values (null)";
Command "update T_5 set col2 = col1";
Command "select * from T_5";
Command "update T_5 set col2 = null";
Command "update T_5 set col2 = null";
Command "select * from T_5";
Command "drop table T_5";
Command "create table T_6 (col1 decimal(18,0), col2 char(2))";
Command "insert T_6(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_6 set col2 = col1";
Command "select * from T_6";
Command "update T_6 set col2 = null";
# error StringRightTruncation is expected
Command "update T_6 set col2 = -210987654321098765";
Command "select * from T_6";
Command "drop table T_6";
Command "create table T_7 (col1 decimal(36,36), col2 char(2))";
Command "insert T_7(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_7 set col2 = col1";
Command "select * from T_7";
Command "update T_7 set col2 = null";
# error StringRightTruncation is expected
Command "update T_7 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_7";
Command "drop table T_7";
Command "create table T_8 (col1 decimal(36,18), col2 char(2))";
Command "insert T_8(col1) values (null)";
Command "update T_8 set col2 = col1";
Command "select * from T_8";
Command "update T_8 set col2 = null";
Command "update T_8 set col2 = null";
Command "select * from T_8";
Command "drop table T_8";
Command "create table T_9 (col1 decimal(18,18), col2 char(2))";
Command "insert T_9(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_9 set col2 = col1";
Command "select * from T_9";
Command "update T_9 set col2 = null";
# error StringRightTruncation is expected
Command "update T_9 set col2 = 0.654321098765432109";
Command "select * from T_9";
Command "drop table T_9";
Command "create table T_10 (col1 decimal(36,0), col2 char(2))";
Command "insert T_10(col1) values (-1)";
Command "update T_10 set col2 = col1";
Command "select * from T_10";
Command "update T_10 set col2 = null";
Command "update T_10 set col2 = -1";
Command "select * from T_10";
Command "drop table T_10";
Command "create table T_11 (col1 decimal(2,1), col2 char(2))";
Command "insert T_11(col1) values (2.1)";
# error StringRightTruncation is expected
Command "update T_11 set col2 = col1";
Command "select * from T_11";
Command "update T_11 set col2 = null";
# error StringRightTruncation is expected
Command "update T_11 set col2 = 2.1";
Command "select * from T_11";
Command "drop table T_11";
Command "create table T_12 (col1 decimal(2,0), col2 char(2))";
Command "insert T_12(col1) values (65)";
Command "update T_12 set col2 = col1";
Command "select * from T_12";
Command "update T_12 set col2 = null";
Command "update T_12 set col2 = 65";
Command "select * from T_12";
Command "drop table T_12";
Command "create table T_13 (col1 decimal(2,0), col2 nchar(18))";
Command "insert T_13(col1) values (0)";
Command "update T_13 set col2 = col1";
Command "select * from T_13";
Command "update T_13 set col2 = null";
Command "update T_13 set col2 = 0";
Command "select * from T_13";
Command "drop table T_13";
Command "create table T_14 (col1 decimal(18,9), col2 nchar(18))";
Command "insert T_14(col1) values (-1)";
Command "update T_14 set col2 = col1";
Command "select * from T_14";
Command "update T_14 set col2 = null";
Command "update T_14 set col2 = -1";
Command "select * from T_14";
Command "drop table T_14";
Command "create table T_15 (col1 decimal(36,36), col2 nchar(18))";
Command "insert T_15(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_15 set col2 = col1";
Command "select * from T_15";
Command "update T_15 set col2 = null";
# error StringRightTruncation is expected
Command "update T_15 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_15";
Command "drop table T_15";
Command "create table T_16 (col1 decimal(2,1), col2 nchar(18))";
Command "insert T_16(col1) values (-6.5)";
Command "update T_16 set col2 = col1";
Command "select * from T_16";
Command "update T_16 set col2 = null";
Command "update T_16 set col2 = -6.5";
Command "select * from T_16";
Command "drop table T_16";
Command "create table T_17 (col1 decimal(18,0), col2 nchar(18))";
Command "insert T_17(col1) values (null)";
Command "update T_17 set col2 = col1";
Command "select * from T_17";
Command "update T_17 set col2 = null";
Command "update T_17 set col2 = null";
Command "select * from T_17";
Command "drop table T_17";
Command "create table T_18 (col1 decimal(18,0), col2 nchar(18))";
Command "insert T_18(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_18 set col2 = col1";
Command "select * from T_18";
Command "update T_18 set col2 = null";
# error StringRightTruncation is expected
Command "update T_18 set col2 = -210987654321098765";
Command "select * from T_18";
Command "drop table T_18";
Command "create table T_19 (col1 decimal(36,36), col2 nchar(18))";
Command "insert T_19(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_19 set col2 = col1";
Command "select * from T_19";
Command "update T_19 set col2 = null";
# error StringRightTruncation is expected
Command "update T_19 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_19";
Command "drop table T_19";
Command "create table T_20 (col1 decimal(36,18), col2 nchar(18))";
Command "insert T_20(col1) values (null)";
Command "update T_20 set col2 = col1";
Command "select * from T_20";
Command "update T_20 set col2 = null";
Command "update T_20 set col2 = null";
Command "select * from T_20";
Command "drop table T_20";
Command "create table T_21 (col1 decimal(18,18), col2 nchar(18))";
Command "insert T_21(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_21 set col2 = col1";
Command "select * from T_21";
Command "update T_21 set col2 = null";
# error StringRightTruncation is expected
Command "update T_21 set col2 = 0.654321098765432109";
Command "select * from T_21";
Command "drop table T_21";
Command "create table T_22 (col1 decimal(36,0), col2 nchar(18))";
Command "insert T_22(col1) values (-1)";
Command "update T_22 set col2 = col1";
Command "select * from T_22";
Command "update T_22 set col2 = null";
Command "update T_22 set col2 = -1";
Command "select * from T_22";
Command "drop table T_22";
Command "create table T_23 (col1 decimal(2,1), col2 nchar(18))";
Command "insert T_23(col1) values (2.1)";
Command "update T_23 set col2 = col1";
Command "select * from T_23";
Command "update T_23 set col2 = null";
Command "update T_23 set col2 = 2.1";
Command "select * from T_23";
Command "drop table T_23";
Command "create table T_24 (col1 decimal(2,0), col2 nchar(18))";
Command "insert T_24(col1) values (65)";
Command "update T_24 set col2 = col1";
Command "select * from T_24";
Command "update T_24 set col2 = null";
Command "update T_24 set col2 = 65";
Command "select * from T_24";
Command "drop table T_24";
Command "create table T_25 (col1 decimal(2,0), col2 varchar(36))";
Command "insert T_25(col1) values (0)";
Command "update T_25 set col2 = col1";
Command "select * from T_25";
Command "update T_25 set col2 = null";
Command "update T_25 set col2 = 0";
Command "select * from T_25";
Command "drop table T_25";
Command "create table T_26 (col1 decimal(18,9), col2 varchar(36))";
Command "insert T_26(col1) values (-1)";
Command "update T_26 set col2 = col1";
Command "select * from T_26";
Command "update T_26 set col2 = null";
Command "update T_26 set col2 = -1";
Command "select * from T_26";
Command "drop table T_26";
Command "create table T_27 (col1 decimal(36,36), col2 varchar(36))";
Command "insert T_27(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_27 set col2 = col1";
Command "select * from T_27";
Command "update T_27 set col2 = null";
# error StringRightTruncation is expected
Command "update T_27 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_27";
Command "drop table T_27";
Command "create table T_28 (col1 decimal(2,1), col2 varchar(36))";
Command "insert T_28(col1) values (-6.5)";
Command "update T_28 set col2 = col1";
Command "select * from T_28";
Command "update T_28 set col2 = null";
Command "update T_28 set col2 = -6.5";
Command "select * from T_28";
Command "drop table T_28";
Command "create table T_29 (col1 decimal(18,0), col2 varchar(36))";
Command "insert T_29(col1) values (null)";
Command "update T_29 set col2 = col1";
Command "select * from T_29";
Command "update T_29 set col2 = null";
Command "update T_29 set col2 = null";
Command "select * from T_29";
Command "drop table T_29";
Command "create table T_30 (col1 decimal(18,0), col2 varchar(36))";
Command "insert T_30(col1) values (-210987654321098765)";
Command "update T_30 set col2 = col1";
Command "select * from T_30";
Command "update T_30 set col2 = null";
Command "update T_30 set col2 = -210987654321098765";
Command "select * from T_30";
Command "drop table T_30";
Command "create table T_31 (col1 decimal(36,36), col2 varchar(36))";
Command "insert T_31(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_31 set col2 = col1";
Command "select * from T_31";
Command "update T_31 set col2 = null";
# error StringRightTruncation is expected
Command "update T_31 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_31";
Command "drop table T_31";
Command "create table T_32 (col1 decimal(36,18), col2 varchar(36))";
Command "insert T_32(col1) values (null)";
Command "update T_32 set col2 = col1";
Command "select * from T_32";
Command "update T_32 set col2 = null";
Command "update T_32 set col2 = null";
Command "select * from T_32";
Command "drop table T_32";
Command "create table T_33 (col1 decimal(18,18), col2 varchar(36))";
Command "insert T_33(col1) values (0.654321098765432109)";
Command "update T_33 set col2 = col1";
Command "select * from T_33";
Command "update T_33 set col2 = null";
Command "update T_33 set col2 = 0.654321098765432109";
Command "select * from T_33";
Command "drop table T_33";
Command "create table T_34 (col1 decimal(36,0), col2 varchar(36))";
Command "insert T_34(col1) values (-1)";
Command "update T_34 set col2 = col1";
Command "select * from T_34";
Command "update T_34 set col2 = null";
Command "update T_34 set col2 = -1";
Command "select * from T_34";
Command "drop table T_34";
Command "create table T_35 (col1 decimal(2,1), col2 varchar(36))";
Command "insert T_35(col1) values (2.1)";
Command "update T_35 set col2 = col1";
Command "select * from T_35";
Command "update T_35 set col2 = null";
Command "update T_35 set col2 = 2.1";
Command "select * from T_35";
Command "drop table T_35";
Command "create table T_36 (col1 decimal(2,0), col2 varchar(36))";
Command "insert T_36(col1) values (65)";
Command "update T_36 set col2 = col1";
Command "select * from T_36";
Command "update T_36 set col2 = null";
Command "update T_36 set col2 = 65";
Command "select * from T_36";
Command "drop table T_36";
Command "create table T_37 (col1 decimal(2,0), col2 nvarchar(72))";
Command "insert T_37(col1) values (0)";
Command "update T_37 set col2 = col1";
Command "select * from T_37";
Command "update T_37 set col2 = null";
Command "update T_37 set col2 = 0";
Command "select * from T_37";
Command "drop table T_37";
Command "create table T_38 (col1 decimal(18,9), col2 nvarchar(72))";
Command "insert T_38(col1) values (-1)";
Command "update T_38 set col2 = col1";
Command "select * from T_38";
Command "update T_38 set col2 = null";
Command "update T_38 set col2 = -1";
Command "select * from T_38";
Command "drop table T_38";
Command "create table T_39 (col1 decimal(36,36), col2 nvarchar(72))";
Command "insert T_39(col1) values (0.210987654321098765432109876543210987)";
Command "update T_39 set col2 = col1";
Command "select * from T_39";
Command "update T_39 set col2 = null";
Command "update T_39 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_39";
Command "drop table T_39";
Command "create table T_40 (col1 decimal(2,1), col2 nvarchar(72))";
Command "insert T_40(col1) values (-6.5)";
Command "update T_40 set col2 = col1";
Command "select * from T_40";
Command "update T_40 set col2 = null";
Command "update T_40 set col2 = -6.5";
Command "select * from T_40";
Command "drop table T_40";
Command "create table T_41 (col1 decimal(18,0), col2 nvarchar(72))";
Command "insert T_41(col1) values (null)";
Command "update T_41 set col2 = col1";
Command "select * from T_41";
Command "update T_41 set col2 = null";
Command "update T_41 set col2 = null";
Command "select * from T_41";
Command "drop table T_41";
Command "create table T_42 (col1 decimal(18,0), col2 nvarchar(72))";
Command "insert T_42(col1) values (-210987654321098765)";
Command "update T_42 set col2 = col1";
Command "select * from T_42";
Command "update T_42 set col2 = null";
Command "update T_42 set col2 = -210987654321098765";
Command "select * from T_42";
Command "drop table T_42";
Command "create table T_43 (col1 decimal(36,36), col2 nvarchar(72))";
Command "insert T_43(col1) values (-0.654321098765432109876543210987654321)";
Command "update T_43 set col2 = col1";
Command "select * from T_43";
Command "update T_43 set col2 = null";
Command "update T_43 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_43";
Command "drop table T_43";
Command "create table T_44 (col1 decimal(36,18), col2 nvarchar(72))";
Command "insert T_44(col1) values (null)";
Command "update T_44 set col2 = col1";
Command "select * from T_44";
Command "update T_44 set col2 = null";
Command "update T_44 set col2 = null";
Command "select * from T_44";
Command "drop table T_44";
Command "create table T_45 (col1 decimal(18,18), col2 nvarchar(72))";
Command "insert T_45(col1) values (0.654321098765432109)";
Command "update T_45 set col2 = col1";
Command "select * from T_45";
Command "update T_45 set col2 = null";
Command "update T_45 set col2 = 0.654321098765432109";
Command "select * from T_45";
Command "drop table T_45";
Command "create table T_46 (col1 decimal(36,0), col2 nvarchar(72))";
Command "insert T_46(col1) values (-1)";
Command "update T_46 set col2 = col1";
Command "select * from T_46";
Command "update T_46 set col2 = null";
Command "update T_46 set col2 = -1";
Command "select * from T_46";
Command "drop table T_46";
Command "create table T_47 (col1 decimal(2,1), col2 nvarchar(72))";
Command "insert T_47(col1) values (2.1)";
Command "update T_47 set col2 = col1";
Command "select * from T_47";
Command "update T_47 set col2 = null";
Command "update T_47 set col2 = 2.1";
Command "select * from T_47";
Command "drop table T_47";
Command "create table T_48 (col1 decimal(2,0), col2 nvarchar(72))";
Command "insert T_48(col1) values (65)";
Command "update T_48 set col2 = col1";
Command "select * from T_48";
Command "update T_48 set col2 = null";
Command "update T_48 set col2 = 65";
Command "select * from T_48";
Command "drop table T_48";
Command "create table T_49 (col1 decimal(2,0), col2 char(18))";
Command "insert T_49(col1) values (0)";
Command "update T_49 set col2 = col1";
Command "select * from T_49";
Command "update T_49 set col2 = null";
Command "update T_49 set col2 = 0";
Command "select * from T_49";
Command "drop table T_49";
Command "create table T_50 (col1 decimal(18,9), col2 char(18))";
Command "insert T_50(col1) values (-1)";
Command "update T_50 set col2 = col1";
Command "select * from T_50";
Command "update T_50 set col2 = null";
Command "update T_50 set col2 = -1";
Command "select * from T_50";
Command "drop table T_50";
Command "create table T_51 (col1 decimal(36,36), col2 char(18))";
Command "insert T_51(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_51 set col2 = col1";
Command "select * from T_51";
Command "update T_51 set col2 = null";
# error StringRightTruncation is expected
Command "update T_51 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_51";
Command "drop table T_51";
Command "create table T_52 (col1 decimal(2,1), col2 char(18))";
Command "insert T_52(col1) values (-6.5)";
Command "update T_52 set col2 = col1";
Command "select * from T_52";
Command "update T_52 set col2 = null";
Command "update T_52 set col2 = -6.5";
Command "select * from T_52";
Command "drop table T_52";
Command "create table T_53 (col1 decimal(18,0), col2 char(18))";
Command "insert T_53(col1) values (null)";
Command "update T_53 set col2 = col1";
Command "select * from T_53";
Command "update T_53 set col2 = null";
Command "update T_53 set col2 = null";
Command "select * from T_53";
Command "drop table T_53";
Command "create table T_54 (col1 decimal(18,0), col2 char(18))";
Command "insert T_54(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_54 set col2 = col1";
Command "select * from T_54";
Command "update T_54 set col2 = null";
# error StringRightTruncation is expected
Command "update T_54 set col2 = -210987654321098765";
Command "select * from T_54";
Command "drop table T_54";
Command "create table T_55 (col1 decimal(36,36), col2 char(18))";
Command "insert T_55(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_55 set col2 = col1";
Command "select * from T_55";
Command "update T_55 set col2 = null";
# error StringRightTruncation is expected
Command "update T_55 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_55";
Command "drop table T_55";
Command "create table T_56 (col1 decimal(36,18), col2 char(18))";
Command "insert T_56(col1) values (null)";
Command "update T_56 set col2 = col1";
Command "select * from T_56";
Command "update T_56 set col2 = null";
Command "update T_56 set col2 = null";
Command "select * from T_56";
Command "drop table T_56";
Command "create table T_57 (col1 decimal(18,18), col2 char(18))";
Command "insert T_57(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_57 set col2 = col1";
Command "select * from T_57";
Command "update T_57 set col2 = null";
# error StringRightTruncation is expected
Command "update T_57 set col2 = 0.654321098765432109";
Command "select * from T_57";
Command "drop table T_57";
Command "create table T_58 (col1 decimal(36,0), col2 char(18))";
Command "insert T_58(col1) values (-1)";
Command "update T_58 set col2 = col1";
Command "select * from T_58";
Command "update T_58 set col2 = null";
Command "update T_58 set col2 = -1";
Command "select * from T_58";
Command "drop table T_58";
Command "create table T_59 (col1 decimal(2,1), col2 char(18))";
Command "insert T_59(col1) values (2.1)";
Command "update T_59 set col2 = col1";
Command "select * from T_59";
Command "update T_59 set col2 = null";
Command "update T_59 set col2 = 2.1";
Command "select * from T_59";
Command "drop table T_59";
Command "create table T_60 (col1 decimal(2,0), col2 char(18))";
Command "insert T_60(col1) values (65)";
Command "update T_60 set col2 = col1";
Command "select * from T_60";
Command "update T_60 set col2 = null";
Command "update T_60 set col2 = 65";
Command "select * from T_60";
Command "drop table T_60";
Command "create table T_61 (col1 decimal(2,0), col2 nchar(2))";
Command "insert T_61(col1) values (0)";
Command "update T_61 set col2 = col1";
Command "select * from T_61";
Command "update T_61 set col2 = null";
Command "update T_61 set col2 = 0";
Command "select * from T_61";
Command "drop table T_61";
Command "create table T_62 (col1 decimal(18,9), col2 nchar(2))";
Command "insert T_62(col1) values (-1)";
# error StringRightTruncation is expected
Command "update T_62 set col2 = col1";
Command "select * from T_62";
Command "update T_62 set col2 = null";
Command "update T_62 set col2 = -1";
Command "select * from T_62";
Command "drop table T_62";
Command "create table T_63 (col1 decimal(36,36), col2 nchar(2))";
Command "insert T_63(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_63 set col2 = col1";
Command "select * from T_63";
Command "update T_63 set col2 = null";
# error StringRightTruncation is expected
Command "update T_63 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_63";
Command "drop table T_63";
Command "create table T_64 (col1 decimal(2,1), col2 nchar(2))";
Command "insert T_64(col1) values (-6.5)";
# error StringRightTruncation is expected
Command "update T_64 set col2 = col1";
Command "select * from T_64";
Command "update T_64 set col2 = null";
# error StringRightTruncation is expected
Command "update T_64 set col2 = -6.5";
Command "select * from T_64";
Command "drop table T_64";
Command "create table T_65 (col1 decimal(18,0), col2 nchar(2))";
Command "insert T_65(col1) values (null)";
Command "update T_65 set col2 = col1";
Command "select * from T_65";
Command "update T_65 set col2 = null";
Command "update T_65 set col2 = null";
Command "select * from T_65";
Command "drop table T_65";
Command "create table T_66 (col1 decimal(18,0), col2 nchar(2))";
Command "insert T_66(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_66 set col2 = col1";
Command "select * from T_66";
Command "update T_66 set col2 = null";
# error StringRightTruncation is expected
Command "update T_66 set col2 = -210987654321098765";
Command "select * from T_66";
Command "drop table T_66";
Command "create table T_67 (col1 decimal(36,36), col2 nchar(2))";
Command "insert T_67(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_67 set col2 = col1";
Command "select * from T_67";
Command "update T_67 set col2 = null";
# error StringRightTruncation is expected
Command "update T_67 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_67";
Command "drop table T_67";
Command "create table T_68 (col1 decimal(36,18), col2 nchar(2))";
Command "insert T_68(col1) values (null)";
Command "update T_68 set col2 = col1";
Command "select * from T_68";
Command "update T_68 set col2 = null";
Command "update T_68 set col2 = null";
Command "select * from T_68";
Command "drop table T_68";
Command "create table T_69 (col1 decimal(18,18), col2 nchar(2))";
Command "insert T_69(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_69 set col2 = col1";
Command "select * from T_69";
Command "update T_69 set col2 = null";
# error StringRightTruncation is expected
Command "update T_69 set col2 = 0.654321098765432109";
Command "select * from T_69";
Command "drop table T_69";
Command "create table T_70 (col1 decimal(36,0), col2 nchar(2))";
Command "insert T_70(col1) values (-1)";
Command "update T_70 set col2 = col1";
Command "select * from T_70";
Command "update T_70 set col2 = null";
Command "update T_70 set col2 = -1";
Command "select * from T_70";
Command "drop table T_70";
Command "create table T_71 (col1 decimal(2,1), col2 nchar(2))";
Command "insert T_71(col1) values (2.1)";
# error StringRightTruncation is expected
Command "update T_71 set col2 = col1";
Command "select * from T_71";
Command "update T_71 set col2 = null";
# error StringRightTruncation is expected
Command "update T_71 set col2 = 2.1";
Command "select * from T_71";
Command "drop table T_71";
Command "create table T_72 (col1 decimal(2,0), col2 nchar(2))";
Command "insert T_72(col1) values (65)";
Command "update T_72 set col2 = col1";
Command "select * from T_72";
Command "update T_72 set col2 = null";
Command "update T_72 set col2 = 65";
Command "select * from T_72";
Command "drop table T_72";
Command "create table T_73 (col1 decimal(2,0), col2 varchar(72))";
Command "insert T_73(col1) values (0)";
Command "update T_73 set col2 = col1";
Command "select * from T_73";
Command "update T_73 set col2 = null";
Command "update T_73 set col2 = 0";
Command "select * from T_73";
Command "drop table T_73";
Command "create table T_74 (col1 decimal(18,9), col2 varchar(72))";
Command "insert T_74(col1) values (-1)";
Command "update T_74 set col2 = col1";
Command "select * from T_74";
Command "update T_74 set col2 = null";
Command "update T_74 set col2 = -1";
Command "select * from T_74";
Command "drop table T_74";
Command "create table T_75 (col1 decimal(36,36), col2 varchar(72))";
Command "insert T_75(col1) values (0.210987654321098765432109876543210987)";
Command "update T_75 set col2 = col1";
Command "select * from T_75";
Command "update T_75 set col2 = null";
Command "update T_75 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_75";
Command "drop table T_75";
Command "create table T_76 (col1 decimal(2,1), col2 varchar(72))";
Command "insert T_76(col1) values (-6.5)";
Command "update T_76 set col2 = col1";
Command "select * from T_76";
Command "update T_76 set col2 = null";
Command "update T_76 set col2 = -6.5";
Command "select * from T_76";
Command "drop table T_76";
Command "create table T_77 (col1 decimal(18,0), col2 varchar(72))";
Command "insert T_77(col1) values (null)";
Command "update T_77 set col2 = col1";
Command "select * from T_77";
Command "update T_77 set col2 = null";
Command "update T_77 set col2 = null";
Command "select * from T_77";
Command "drop table T_77";
Command "create table T_78 (col1 decimal(18,0), col2 varchar(72))";
Command "insert T_78(col1) values (-210987654321098765)";
Command "update T_78 set col2 = col1";
Command "select * from T_78";
Command "update T_78 set col2 = null";
Command "update T_78 set col2 = -210987654321098765";
Command "select * from T_78";
Command "drop table T_78";
Command "create table T_79 (col1 decimal(36,36), col2 varchar(72))";
Command "insert T_79(col1) values (-0.654321098765432109876543210987654321)";
Command "update T_79 set col2 = col1";
Command "select * from T_79";
Command "update T_79 set col2 = null";
Command "update T_79 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_79";
Command "drop table T_79";
Command "create table T_80 (col1 decimal(36,18), col2 varchar(72))";
Command "insert T_80(col1) values (null)";
Command "update T_80 set col2 = col1";
Command "select * from T_80";
Command "update T_80 set col2 = null";
Command "update T_80 set col2 = null";
Command "select * from T_80";
Command "drop table T_80";
Command "create table T_81 (col1 decimal(18,18), col2 varchar(72))";
Command "insert T_81(col1) values (0.654321098765432109)";
Command "update T_81 set col2 = col1";
Command "select * from T_81";
Command "update T_81 set col2 = null";
Command "update T_81 set col2 = 0.654321098765432109";
Command "select * from T_81";
Command "drop table T_81";
Command "create table T_82 (col1 decimal(36,0), col2 varchar(72))";
Command "insert T_82(col1) values (-1)";
Command "update T_82 set col2 = col1";
Command "select * from T_82";
Command "update T_82 set col2 = null";
Command "update T_82 set col2 = -1";
Command "select * from T_82";
Command "drop table T_82";
Command "create table T_83 (col1 decimal(2,1), col2 varchar(72))";
Command "insert T_83(col1) values (2.1)";
Command "update T_83 set col2 = col1";
Command "select * from T_83";
Command "update T_83 set col2 = null";
Command "update T_83 set col2 = 2.1";
Command "select * from T_83";
Command "drop table T_83";
Command "create table T_84 (col1 decimal(2,0), col2 varchar(72))";
Command "insert T_84(col1) values (65)";
Command "update T_84 set col2 = col1";
Command "select * from T_84";
Command "update T_84 set col2 = null";
Command "update T_84 set col2 = 65";
Command "select * from T_84";
Command "drop table T_84";
Command "create table T_85 (col1 decimal(2,0), col2 nvarchar(36))";
Command "insert T_85(col1) values (0)";
Command "update T_85 set col2 = col1";
Command "select * from T_85";
Command "update T_85 set col2 = null";
Command "update T_85 set col2 = 0";
Command "select * from T_85";
Command "drop table T_85";
Command "create table T_86 (col1 decimal(18,9), col2 nvarchar(36))";
Command "insert T_86(col1) values (-1)";
Command "update T_86 set col2 = col1";
Command "select * from T_86";
Command "update T_86 set col2 = null";
Command "update T_86 set col2 = -1";
Command "select * from T_86";
Command "drop table T_86";
Command "create table T_87 (col1 decimal(36,36), col2 nvarchar(36))";
Command "insert T_87(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_87 set col2 = col1";
Command "select * from T_87";
Command "update T_87 set col2 = null";
# error StringRightTruncation is expected
Command "update T_87 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_87";
Command "drop table T_87";
Command "create table T_88 (col1 decimal(2,1), col2 nvarchar(36))";
Command "insert T_88(col1) values (-6.5)";
Command "update T_88 set col2 = col1";
Command "select * from T_88";
Command "update T_88 set col2 = null";
Command "update T_88 set col2 = -6.5";
Command "select * from T_88";
Command "drop table T_88";
Command "create table T_89 (col1 decimal(18,0), col2 nvarchar(36))";
Command "insert T_89(col1) values (null)";
Command "update T_89 set col2 = col1";
Command "select * from T_89";
Command "update T_89 set col2 = null";
Command "update T_89 set col2 = null";
Command "select * from T_89";
Command "drop table T_89";
Command "create table T_90 (col1 decimal(18,0), col2 nvarchar(36))";
Command "insert T_90(col1) values (-210987654321098765)";
Command "update T_90 set col2 = col1";
Command "select * from T_90";
Command "update T_90 set col2 = null";
Command "update T_90 set col2 = -210987654321098765";
Command "select * from T_90";
Command "drop table T_90";
Command "create table T_91 (col1 decimal(36,36), col2 nvarchar(36))";
Command "insert T_91(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_91 set col2 = col1";
Command "select * from T_91";
Command "update T_91 set col2 = null";
# error StringRightTruncation is expected
Command "update T_91 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_91";
Command "drop table T_91";
Command "create table T_92 (col1 decimal(36,18), col2 nvarchar(36))";
Command "insert T_92(col1) values (null)";
Command "update T_92 set col2 = col1";
Command "select * from T_92";
Command "update T_92 set col2 = null";
Command "update T_92 set col2 = null";
Command "select * from T_92";
Command "drop table T_92";
Command "create table T_93 (col1 decimal(18,18), col2 nvarchar(36))";
Command "insert T_93(col1) values (0.654321098765432109)";
Command "update T_93 set col2 = col1";
Command "select * from T_93";
Command "update T_93 set col2 = null";
Command "update T_93 set col2 = 0.654321098765432109";
Command "select * from T_93";
Command "drop table T_93";
Command "create table T_94 (col1 decimal(36,0), col2 nvarchar(36))";
Command "insert T_94(col1) values (-1)";
Command "update T_94 set col2 = col1";
Command "select * from T_94";
Command "update T_94 set col2 = null";
Command "update T_94 set col2 = -1";
Command "select * from T_94";
Command "drop table T_94";
Command "create table T_95 (col1 decimal(2,1), col2 nvarchar(36))";
Command "insert T_95(col1) values (2.1)";
Command "update T_95 set col2 = col1";
Command "select * from T_95";
Command "update T_95 set col2 = null";
Command "update T_95 set col2 = 2.1";
Command "select * from T_95";
Command "drop table T_95";
Command "create table T_96 (col1 decimal(2,0), col2 nvarchar(36))";
Command "insert T_96(col1) values (65)";
Command "update T_96 set col2 = col1";
Command "select * from T_96";
Command "update T_96 set col2 = null";
Command "update T_96 set col2 = 65";
Command "select * from T_96";
Command "drop table T_96";
Command "create table T_97 (col1 decimal(2,0), col2 char(36))";
Command "insert T_97(col1) values (0)";
Command "update T_97 set col2 = col1";
Command "select * from T_97";
Command "update T_97 set col2 = null";
Command "update T_97 set col2 = 0";
Command "select * from T_97";
Command "drop table T_97";
Command "create table T_98 (col1 decimal(18,9), col2 char(36))";
Command "insert T_98(col1) values (-1)";
Command "update T_98 set col2 = col1";
Command "select * from T_98";
Command "update T_98 set col2 = null";
Command "update T_98 set col2 = -1";
Command "select * from T_98";
Command "drop table T_98";
Command "create table T_99 (col1 decimal(36,36), col2 char(36))";
Command "insert T_99(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_99 set col2 = col1";
Command "select * from T_99";
Command "update T_99 set col2 = null";
# error StringRightTruncation is expected
Command "update T_99 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_99";
Command "drop table T_99";
Command "create table T_100 (col1 decimal(2,1), col2 char(36))";
Command "insert T_100(col1) values (-6.5)";
Command "update T_100 set col2 = col1";
Command "select * from T_100";
Command "update T_100 set col2 = null";
Command "update T_100 set col2 = -6.5";
Command "select * from T_100";
Command "drop table T_100";
Command "create table T_101 (col1 decimal(18,0), col2 char(36))";
Command "insert T_101(col1) values (null)";
Command "update T_101 set col2 = col1";
Command "select * from T_101";
Command "update T_101 set col2 = null";
Command "update T_101 set col2 = null";
Command "select * from T_101";
Command "drop table T_101";
Command "create table T_102 (col1 decimal(18,0), col2 char(36))";
Command "insert T_102(col1) values (-210987654321098765)";
Command "update T_102 set col2 = col1";
Command "select * from T_102";
Command "update T_102 set col2 = null";
Command "update T_102 set col2 = -210987654321098765";
Command "select * from T_102";
Command "drop table T_102";
Command "create table T_103 (col1 decimal(36,36), col2 char(36))";
Command "insert T_103(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_103 set col2 = col1";
Command "select * from T_103";
Command "update T_103 set col2 = null";
# error StringRightTruncation is expected
Command "update T_103 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_103";
Command "drop table T_103";
Command "create table T_104 (col1 decimal(36,18), col2 char(36))";
Command "insert T_104(col1) values (null)";
Command "update T_104 set col2 = col1";
Command "select * from T_104";
Command "update T_104 set col2 = null";
Command "update T_104 set col2 = null";
Command "select * from T_104";
Command "drop table T_104";
Command "create table T_105 (col1 decimal(18,18), col2 char(36))";
Command "insert T_105(col1) values (0.654321098765432109)";
Command "update T_105 set col2 = col1";
Command "select * from T_105";
Command "update T_105 set col2 = null";
Command "update T_105 set col2 = 0.654321098765432109";
Command "select * from T_105";
Command "drop table T_105";
Command "create table T_106 (col1 decimal(36,0), col2 char(36))";
Command "insert T_106(col1) values (-1)";
Command "update T_106 set col2 = col1";
Command "select * from T_106";
Command "update T_106 set col2 = null";
Command "update T_106 set col2 = -1";
Command "select * from T_106";
Command "drop table T_106";
Command "create table T_107 (col1 decimal(2,1), col2 char(36))";
Command "insert T_107(col1) values (2.1)";
Command "update T_107 set col2 = col1";
Command "select * from T_107";
Command "update T_107 set col2 = null";
Command "update T_107 set col2 = 2.1";
Command "select * from T_107";
Command "drop table T_107";
Command "create table T_108 (col1 decimal(2,0), col2 char(36))";
Command "insert T_108(col1) values (65)";
Command "update T_108 set col2 = col1";
Command "select * from T_108";
Command "update T_108 set col2 = null";
Command "update T_108 set col2 = 65";
Command "select * from T_108";
Command "drop table T_108";
Command "create table T_109 (col1 decimal(2,0), col2 nchar(72))";
Command "insert T_109(col1) values (0)";
Command "update T_109 set col2 = col1";
Command "select * from T_109";
Command "update T_109 set col2 = null";
Command "update T_109 set col2 = 0";
Command "select * from T_109";
Command "drop table T_109";
Command "create table T_110 (col1 decimal(18,9), col2 nchar(72))";
Command "insert T_110(col1) values (-1)";
Command "update T_110 set col2 = col1";
Command "select * from T_110";
Command "update T_110 set col2 = null";
Command "update T_110 set col2 = -1";
Command "select * from T_110";
Command "drop table T_110";
Command "create table T_111 (col1 decimal(36,36), col2 nchar(72))";
Command "insert T_111(col1) values (0.210987654321098765432109876543210987)";
Command "update T_111 set col2 = col1";
Command "select * from T_111";
Command "update T_111 set col2 = null";
Command "update T_111 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_111";
Command "drop table T_111";
Command "create table T_112 (col1 decimal(2,1), col2 nchar(72))";
Command "insert T_112(col1) values (-6.5)";
Command "update T_112 set col2 = col1";
Command "select * from T_112";
Command "update T_112 set col2 = null";
Command "update T_112 set col2 = -6.5";
Command "select * from T_112";
Command "drop table T_112";
Command "create table T_113 (col1 decimal(18,0), col2 nchar(72))";
Command "insert T_113(col1) values (null)";
Command "update T_113 set col2 = col1";
Command "select * from T_113";
Command "update T_113 set col2 = null";
Command "update T_113 set col2 = null";
Command "select * from T_113";
Command "drop table T_113";
Command "create table T_114 (col1 decimal(18,0), col2 nchar(72))";
Command "insert T_114(col1) values (-210987654321098765)";
Command "update T_114 set col2 = col1";
Command "select * from T_114";
Command "update T_114 set col2 = null";
Command "update T_114 set col2 = -210987654321098765";
Command "select * from T_114";
Command "drop table T_114";
Command "create table T_115 (col1 decimal(36,36), col2 nchar(72))";
Command "insert T_115(col1) values (-0.654321098765432109876543210987654321)";
Command "update T_115 set col2 = col1";
Command "select * from T_115";
Command "update T_115 set col2 = null";
Command "update T_115 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_115";
Command "drop table T_115";
Command "create table T_116 (col1 decimal(36,18), col2 nchar(72))";
Command "insert T_116(col1) values (null)";
Command "update T_116 set col2 = col1";
Command "select * from T_116";
Command "update T_116 set col2 = null";
Command "update T_116 set col2 = null";
Command "select * from T_116";
Command "drop table T_116";
Command "create table T_117 (col1 decimal(18,18), col2 nchar(72))";
Command "insert T_117(col1) values (0.654321098765432109)";
Command "update T_117 set col2 = col1";
Command "select * from T_117";
Command "update T_117 set col2 = null";
Command "update T_117 set col2 = 0.654321098765432109";
Command "select * from T_117";
Command "drop table T_117";
Command "create table T_118 (col1 decimal(36,0), col2 nchar(72))";
Command "insert T_118(col1) values (-1)";
Command "update T_118 set col2 = col1";
Command "select * from T_118";
Command "update T_118 set col2 = null";
Command "update T_118 set col2 = -1";
Command "select * from T_118";
Command "drop table T_118";
Command "create table T_119 (col1 decimal(2,1), col2 nchar(72))";
Command "insert T_119(col1) values (2.1)";
Command "update T_119 set col2 = col1";
Command "select * from T_119";
Command "update T_119 set col2 = null";
Command "update T_119 set col2 = 2.1";
Command "select * from T_119";
Command "drop table T_119";
Command "create table T_120 (col1 decimal(2,0), col2 nchar(72))";
Command "insert T_120(col1) values (65)";
Command "update T_120 set col2 = col1";
Command "select * from T_120";
Command "update T_120 set col2 = null";
Command "update T_120 set col2 = 65";
Command "select * from T_120";
Command "drop table T_120";
Command "create table T_121 (col1 decimal(2,0), col2 varchar(2))";
Command "insert T_121(col1) values (0)";
Command "update T_121 set col2 = col1";
Command "select * from T_121";
Command "update T_121 set col2 = null";
Command "update T_121 set col2 = 0";
Command "select * from T_121";
Command "drop table T_121";
Command "create table T_122 (col1 decimal(18,9), col2 varchar(2))";
Command "insert T_122(col1) values (-1)";
# error StringRightTruncation is expected
Command "update T_122 set col2 = col1";
Command "select * from T_122";
Command "update T_122 set col2 = null";
Command "update T_122 set col2 = -1";
Command "select * from T_122";
Command "drop table T_122";
Command "create table T_123 (col1 decimal(36,36), col2 varchar(2))";
Command "insert T_123(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_123 set col2 = col1";
Command "select * from T_123";
Command "update T_123 set col2 = null";
# error StringRightTruncation is expected
Command "update T_123 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_123";
Command "drop table T_123";
Command "create table T_124 (col1 decimal(2,1), col2 varchar(2))";
Command "insert T_124(col1) values (-6.5)";
# error StringRightTruncation is expected
Command "update T_124 set col2 = col1";
Command "select * from T_124";
Command "update T_124 set col2 = null";
# error StringRightTruncation is expected
Command "update T_124 set col2 = -6.5";
Command "select * from T_124";
Command "drop table T_124";
Command "create table T_125 (col1 decimal(18,0), col2 varchar(2))";
Command "insert T_125(col1) values (null)";
Command "update T_125 set col2 = col1";
Command "select * from T_125";
Command "update T_125 set col2 = null";
Command "update T_125 set col2 = null";
Command "select * from T_125";
Command "drop table T_125";
Command "create table T_126 (col1 decimal(18,0), col2 varchar(2))";
Command "insert T_126(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_126 set col2 = col1";
Command "select * from T_126";
Command "update T_126 set col2 = null";
# error StringRightTruncation is expected
Command "update T_126 set col2 = -210987654321098765";
Command "select * from T_126";
Command "drop table T_126";
Command "create table T_127 (col1 decimal(36,36), col2 varchar(2))";
Command "insert T_127(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_127 set col2 = col1";
Command "select * from T_127";
Command "update T_127 set col2 = null";
# error StringRightTruncation is expected
Command "update T_127 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_127";
Command "drop table T_127";
Command "create table T_128 (col1 decimal(36,18), col2 varchar(2))";
Command "insert T_128(col1) values (null)";
Command "update T_128 set col2 = col1";
Command "select * from T_128";
Command "update T_128 set col2 = null";
Command "update T_128 set col2 = null";
Command "select * from T_128";
Command "drop table T_128";
Command "create table T_129 (col1 decimal(18,18), col2 varchar(2))";
Command "insert T_129(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_129 set col2 = col1";
Command "select * from T_129";
Command "update T_129 set col2 = null";
# error StringRightTruncation is expected
Command "update T_129 set col2 = 0.654321098765432109";
Command "select * from T_129";
Command "drop table T_129";
Command "create table T_130 (col1 decimal(36,0), col2 varchar(2))";
Command "insert T_130(col1) values (-1)";
Command "update T_130 set col2 = col1";
Command "select * from T_130";
Command "update T_130 set col2 = null";
Command "update T_130 set col2 = -1";
Command "select * from T_130";
Command "drop table T_130";
Command "create table T_131 (col1 decimal(2,1), col2 varchar(2))";
Command "insert T_131(col1) values (2.1)";
# error StringRightTruncation is expected
Command "update T_131 set col2 = col1";
Command "select * from T_131";
Command "update T_131 set col2 = null";
# error StringRightTruncation is expected
Command "update T_131 set col2 = 2.1";
Command "select * from T_131";
Command "drop table T_131";
Command "create table T_132 (col1 decimal(2,0), col2 varchar(2))";
Command "insert T_132(col1) values (65)";
Command "update T_132 set col2 = col1";
Command "select * from T_132";
Command "update T_132 set col2 = null";
Command "update T_132 set col2 = 65";
Command "select * from T_132";
Command "drop table T_132";
Command "create table T_133 (col1 decimal(2,0), col2 nvarchar(18))";
Command "insert T_133(col1) values (0)";
Command "update T_133 set col2 = col1";
Command "select * from T_133";
Command "update T_133 set col2 = null";
Command "update T_133 set col2 = 0";
Command "select * from T_133";
Command "drop table T_133";
Command "create table T_134 (col1 decimal(18,9), col2 nvarchar(18))";
Command "insert T_134(col1) values (-1)";
Command "update T_134 set col2 = col1";
Command "select * from T_134";
Command "update T_134 set col2 = null";
Command "update T_134 set col2 = -1";
Command "select * from T_134";
Command "drop table T_134";
Command "create table T_135 (col1 decimal(36,36), col2 nvarchar(18))";
Command "insert T_135(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_135 set col2 = col1";
Command "select * from T_135";
Command "update T_135 set col2 = null";
# error StringRightTruncation is expected
Command "update T_135 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_135";
Command "drop table T_135";
Command "create table T_136 (col1 decimal(2,1), col2 nvarchar(18))";
Command "insert T_136(col1) values (-6.5)";
Command "update T_136 set col2 = col1";
Command "select * from T_136";
Command "update T_136 set col2 = null";
Command "update T_136 set col2 = -6.5";
Command "select * from T_136";
Command "drop table T_136";
Command "create table T_137 (col1 decimal(18,0), col2 nvarchar(18))";
Command "insert T_137(col1) values (null)";
Command "update T_137 set col2 = col1";
Command "select * from T_137";
Command "update T_137 set col2 = null";
Command "update T_137 set col2 = null";
Command "select * from T_137";
Command "drop table T_137";
Command "create table T_138 (col1 decimal(18,0), col2 nvarchar(18))";
Command "insert T_138(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_138 set col2 = col1";
Command "select * from T_138";
Command "update T_138 set col2 = null";
# error StringRightTruncation is expected
Command "update T_138 set col2 = -210987654321098765";
Command "select * from T_138";
Command "drop table T_138";
Command "create table T_139 (col1 decimal(36,36), col2 nvarchar(18))";
Command "insert T_139(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_139 set col2 = col1";
Command "select * from T_139";
Command "update T_139 set col2 = null";
# error StringRightTruncation is expected
Command "update T_139 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_139";
Command "drop table T_139";
Command "create table T_140 (col1 decimal(36,18), col2 nvarchar(18))";
Command "insert T_140(col1) values (null)";
Command "update T_140 set col2 = col1";
Command "select * from T_140";
Command "update T_140 set col2 = null";
Command "update T_140 set col2 = null";
Command "select * from T_140";
Command "drop table T_140";
Command "create table T_141 (col1 decimal(18,18), col2 nvarchar(18))";
Command "insert T_141(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_141 set col2 = col1";
Command "select * from T_141";
Command "update T_141 set col2 = null";
# error StringRightTruncation is expected
Command "update T_141 set col2 = 0.654321098765432109";
Command "select * from T_141";
Command "drop table T_141";
Command "create table T_142 (col1 decimal(36,0), col2 nvarchar(18))";
Command "insert T_142(col1) values (-1)";
Command "update T_142 set col2 = col1";
Command "select * from T_142";
Command "update T_142 set col2 = null";
Command "update T_142 set col2 = -1";
Command "select * from T_142";
Command "drop table T_142";
Command "create table T_143 (col1 decimal(2,1), col2 nvarchar(18))";
Command "insert T_143(col1) values (2.1)";
Command "update T_143 set col2 = col1";
Command "select * from T_143";
Command "update T_143 set col2 = null";
Command "update T_143 set col2 = 2.1";
Command "select * from T_143";
Command "drop table T_143";
Command "create table T_144 (col1 decimal(2,0), col2 nvarchar(18))";
Command "insert T_144(col1) values (65)";
Command "update T_144 set col2 = col1";
Command "select * from T_144";
Command "update T_144 set col2 = null";
Command "update T_144 set col2 = 65";
Command "select * from T_144";
Command "drop table T_144";
Command "create table T_145 (col1 decimal(2,0), col2 char(72))";
Command "insert T_145(col1) values (0)";
Command "update T_145 set col2 = col1";
Command "select * from T_145";
Command "update T_145 set col2 = null";
Command "update T_145 set col2 = 0";
Command "select * from T_145";
Command "drop table T_145";
Command "create table T_146 (col1 decimal(18,9), col2 char(72))";
Command "insert T_146(col1) values (-1)";
Command "update T_146 set col2 = col1";
Command "select * from T_146";
Command "update T_146 set col2 = null";
Command "update T_146 set col2 = -1";
Command "select * from T_146";
Command "drop table T_146";
Command "create table T_147 (col1 decimal(36,36), col2 char(72))";
Command "insert T_147(col1) values (0.210987654321098765432109876543210987)";
Command "update T_147 set col2 = col1";
Command "select * from T_147";
Command "update T_147 set col2 = null";
Command "update T_147 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_147";
Command "drop table T_147";
Command "create table T_148 (col1 decimal(2,1), col2 char(72))";
Command "insert T_148(col1) values (-6.5)";
Command "update T_148 set col2 = col1";
Command "select * from T_148";
Command "update T_148 set col2 = null";
Command "update T_148 set col2 = -6.5";
Command "select * from T_148";
Command "drop table T_148";
Command "create table T_149 (col1 decimal(18,0), col2 char(72))";
Command "insert T_149(col1) values (null)";
Command "update T_149 set col2 = col1";
Command "select * from T_149";
Command "update T_149 set col2 = null";
Command "update T_149 set col2 = null";
Command "select * from T_149";
Command "drop table T_149";
Command "create table T_150 (col1 decimal(18,0), col2 char(72))";
Command "insert T_150(col1) values (-210987654321098765)";
Command "update T_150 set col2 = col1";
Command "select * from T_150";
Command "update T_150 set col2 = null";
Command "update T_150 set col2 = -210987654321098765";
Command "select * from T_150";
Command "drop table T_150";
Command "create table T_151 (col1 decimal(36,36), col2 char(72))";
Command "insert T_151(col1) values (-0.654321098765432109876543210987654321)";
Command "update T_151 set col2 = col1";
Command "select * from T_151";
Command "update T_151 set col2 = null";
Command "update T_151 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_151";
Command "drop table T_151";
Command "create table T_152 (col1 decimal(36,18), col2 char(72))";
Command "insert T_152(col1) values (null)";
Command "update T_152 set col2 = col1";
Command "select * from T_152";
Command "update T_152 set col2 = null";
Command "update T_152 set col2 = null";
Command "select * from T_152";
Command "drop table T_152";
Command "create table T_153 (col1 decimal(18,18), col2 char(72))";
Command "insert T_153(col1) values (0.654321098765432109)";
Command "update T_153 set col2 = col1";
Command "select * from T_153";
Command "update T_153 set col2 = null";
Command "update T_153 set col2 = 0.654321098765432109";
Command "select * from T_153";
Command "drop table T_153";
Command "create table T_154 (col1 decimal(36,0), col2 char(72))";
Command "insert T_154(col1) values (-1)";
Command "update T_154 set col2 = col1";
Command "select * from T_154";
Command "update T_154 set col2 = null";
Command "update T_154 set col2 = -1";
Command "select * from T_154";
Command "drop table T_154";
Command "create table T_155 (col1 decimal(2,1), col2 char(72))";
Command "insert T_155(col1) values (2.1)";
Command "update T_155 set col2 = col1";
Command "select * from T_155";
Command "update T_155 set col2 = null";
Command "update T_155 set col2 = 2.1";
Command "select * from T_155";
Command "drop table T_155";
Command "create table T_156 (col1 decimal(2,0), col2 char(72))";
Command "insert T_156(col1) values (65)";
Command "update T_156 set col2 = col1";
Command "select * from T_156";
Command "update T_156 set col2 = null";
Command "update T_156 set col2 = 65";
Command "select * from T_156";
Command "drop table T_156";
Command "create table T_157 (col1 decimal(2,0), col2 nchar(36))";
Command "insert T_157(col1) values (0)";
Command "update T_157 set col2 = col1";
Command "select * from T_157";
Command "update T_157 set col2 = null";
Command "update T_157 set col2 = 0";
Command "select * from T_157";
Command "drop table T_157";
Command "create table T_158 (col1 decimal(18,9), col2 nchar(36))";
Command "insert T_158(col1) values (-1)";
Command "update T_158 set col2 = col1";
Command "select * from T_158";
Command "update T_158 set col2 = null";
Command "update T_158 set col2 = -1";
Command "select * from T_158";
Command "drop table T_158";
Command "create table T_159 (col1 decimal(36,36), col2 nchar(36))";
Command "insert T_159(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_159 set col2 = col1";
Command "select * from T_159";
Command "update T_159 set col2 = null";
# error StringRightTruncation is expected
Command "update T_159 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_159";
Command "drop table T_159";
Command "create table T_160 (col1 decimal(2,1), col2 nchar(36))";
Command "insert T_160(col1) values (-6.5)";
Command "update T_160 set col2 = col1";
Command "select * from T_160";
Command "update T_160 set col2 = null";
Command "update T_160 set col2 = -6.5";
Command "select * from T_160";
Command "drop table T_160";
Command "create table T_161 (col1 decimal(18,0), col2 nchar(36))";
Command "insert T_161(col1) values (null)";
Command "update T_161 set col2 = col1";
Command "select * from T_161";
Command "update T_161 set col2 = null";
Command "update T_161 set col2 = null";
Command "select * from T_161";
Command "drop table T_161";
Command "create table T_162 (col1 decimal(18,0), col2 nchar(36))";
Command "insert T_162(col1) values (-210987654321098765)";
Command "update T_162 set col2 = col1";
Command "select * from T_162";
Command "update T_162 set col2 = null";
Command "update T_162 set col2 = -210987654321098765";
Command "select * from T_162";
Command "drop table T_162";
Command "create table T_163 (col1 decimal(36,36), col2 nchar(36))";
Command "insert T_163(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_163 set col2 = col1";
Command "select * from T_163";
Command "update T_163 set col2 = null";
# error StringRightTruncation is expected
Command "update T_163 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_163";
Command "drop table T_163";
Command "create table T_164 (col1 decimal(36,18), col2 nchar(36))";
Command "insert T_164(col1) values (null)";
Command "update T_164 set col2 = col1";
Command "select * from T_164";
Command "update T_164 set col2 = null";
Command "update T_164 set col2 = null";
Command "select * from T_164";
Command "drop table T_164";
Command "create table T_165 (col1 decimal(18,18), col2 nchar(36))";
Command "insert T_165(col1) values (0.654321098765432109)";
Command "update T_165 set col2 = col1";
Command "select * from T_165";
Command "update T_165 set col2 = null";
Command "update T_165 set col2 = 0.654321098765432109";
Command "select * from T_165";
Command "drop table T_165";
Command "create table T_166 (col1 decimal(36,0), col2 nchar(36))";
Command "insert T_166(col1) values (-1)";
Command "update T_166 set col2 = col1";
Command "select * from T_166";
Command "update T_166 set col2 = null";
Command "update T_166 set col2 = -1";
Command "select * from T_166";
Command "drop table T_166";
Command "create table T_167 (col1 decimal(2,1), col2 nchar(36))";
Command "insert T_167(col1) values (2.1)";
Command "update T_167 set col2 = col1";
Command "select * from T_167";
Command "update T_167 set col2 = null";
Command "update T_167 set col2 = 2.1";
Command "select * from T_167";
Command "drop table T_167";
Command "create table T_168 (col1 decimal(2,0), col2 nchar(36))";
Command "insert T_168(col1) values (65)";
Command "update T_168 set col2 = col1";
Command "select * from T_168";
Command "update T_168 set col2 = null";
Command "update T_168 set col2 = 65";
Command "select * from T_168";
Command "drop table T_168";
Command "create table T_169 (col1 decimal(2,0), col2 varchar(18))";
Command "insert T_169(col1) values (0)";
Command "update T_169 set col2 = col1";
Command "select * from T_169";
Command "update T_169 set col2 = null";
Command "update T_169 set col2 = 0";
Command "select * from T_169";
Command "drop table T_169";
Command "create table T_170 (col1 decimal(18,9), col2 varchar(18))";
Command "insert T_170(col1) values (-1)";
Command "update T_170 set col2 = col1";
Command "select * from T_170";
Command "update T_170 set col2 = null";
Command "update T_170 set col2 = -1";
Command "select * from T_170";
Command "drop table T_170";
Command "create table T_171 (col1 decimal(36,36), col2 varchar(18))";
Command "insert T_171(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_171 set col2 = col1";
Command "select * from T_171";
Command "update T_171 set col2 = null";
# error StringRightTruncation is expected
Command "update T_171 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_171";
Command "drop table T_171";
Command "create table T_172 (col1 decimal(2,1), col2 varchar(18))";
Command "insert T_172(col1) values (-6.5)";
Command "update T_172 set col2 = col1";
Command "select * from T_172";
Command "update T_172 set col2 = null";
Command "update T_172 set col2 = -6.5";
Command "select * from T_172";
Command "drop table T_172";
Command "create table T_173 (col1 decimal(18,0), col2 varchar(18))";
Command "insert T_173(col1) values (null)";
Command "update T_173 set col2 = col1";
Command "select * from T_173";
Command "update T_173 set col2 = null";
Command "update T_173 set col2 = null";
Command "select * from T_173";
Command "drop table T_173";
Command "create table T_174 (col1 decimal(18,0), col2 varchar(18))";
Command "insert T_174(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_174 set col2 = col1";
Command "select * from T_174";
Command "update T_174 set col2 = null";
# error StringRightTruncation is expected
Command "update T_174 set col2 = -210987654321098765";
Command "select * from T_174";
Command "drop table T_174";
Command "create table T_175 (col1 decimal(36,36), col2 varchar(18))";
Command "insert T_175(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_175 set col2 = col1";
Command "select * from T_175";
Command "update T_175 set col2 = null";
# error StringRightTruncation is expected
Command "update T_175 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_175";
Command "drop table T_175";
Command "create table T_176 (col1 decimal(36,18), col2 varchar(18))";
Command "insert T_176(col1) values (null)";
Command "update T_176 set col2 = col1";
Command "select * from T_176";
Command "update T_176 set col2 = null";
Command "update T_176 set col2 = null";
Command "select * from T_176";
Command "drop table T_176";
Command "create table T_177 (col1 decimal(18,18), col2 varchar(18))";
Command "insert T_177(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_177 set col2 = col1";
Command "select * from T_177";
Command "update T_177 set col2 = null";
# error StringRightTruncation is expected
Command "update T_177 set col2 = 0.654321098765432109";
Command "select * from T_177";
Command "drop table T_177";
Command "create table T_178 (col1 decimal(36,0), col2 varchar(18))";
Command "insert T_178(col1) values (-1)";
Command "update T_178 set col2 = col1";
Command "select * from T_178";
Command "update T_178 set col2 = null";
Command "update T_178 set col2 = -1";
Command "select * from T_178";
Command "drop table T_178";
Command "create table T_179 (col1 decimal(2,1), col2 varchar(18))";
Command "insert T_179(col1) values (2.1)";
Command "update T_179 set col2 = col1";
Command "select * from T_179";
Command "update T_179 set col2 = null";
Command "update T_179 set col2 = 2.1";
Command "select * from T_179";
Command "drop table T_179";
Command "create table T_180 (col1 decimal(2,0), col2 varchar(18))";
Command "insert T_180(col1) values (65)";
Command "update T_180 set col2 = col1";
Command "select * from T_180";
Command "update T_180 set col2 = null";
Command "update T_180 set col2 = 65";
Command "select * from T_180";
Command "drop table T_180";
Command "create table T_181 (col1 decimal(2,0), col2 nvarchar(2))";
Command "insert T_181(col1) values (0)";
Command "update T_181 set col2 = col1";
Command "select * from T_181";
Command "update T_181 set col2 = null";
Command "update T_181 set col2 = 0";
Command "select * from T_181";
Command "drop table T_181";
Command "create table T_182 (col1 decimal(18,9), col2 nvarchar(2))";
Command "insert T_182(col1) values (-1)";
# error StringRightTruncation is expected
Command "update T_182 set col2 = col1";
Command "select * from T_182";
Command "update T_182 set col2 = null";
Command "update T_182 set col2 = -1";
Command "select * from T_182";
Command "drop table T_182";
Command "create table T_183 (col1 decimal(36,36), col2 nvarchar(2))";
Command "insert T_183(col1) values (0.210987654321098765432109876543210987)";
# error StringRightTruncation is expected
Command "update T_183 set col2 = col1";
Command "select * from T_183";
Command "update T_183 set col2 = null";
# error StringRightTruncation is expected
Command "update T_183 set col2 = 0.210987654321098765432109876543210987";
Command "select * from T_183";
Command "drop table T_183";
Command "create table T_184 (col1 decimal(2,1), col2 nvarchar(2))";
Command "insert T_184(col1) values (-6.5)";
# error StringRightTruncation is expected
Command "update T_184 set col2 = col1";
Command "select * from T_184";
Command "update T_184 set col2 = null";
# error StringRightTruncation is expected
Command "update T_184 set col2 = -6.5";
Command "select * from T_184";
Command "drop table T_184";
Command "create table T_185 (col1 decimal(18,0), col2 nvarchar(2))";
Command "insert T_185(col1) values (null)";
Command "update T_185 set col2 = col1";
Command "select * from T_185";
Command "update T_185 set col2 = null";
Command "update T_185 set col2 = null";
Command "select * from T_185";
Command "drop table T_185";
Command "create table T_186 (col1 decimal(18,0), col2 nvarchar(2))";
Command "insert T_186(col1) values (-210987654321098765)";
# error StringRightTruncation is expected
Command "update T_186 set col2 = col1";
Command "select * from T_186";
Command "update T_186 set col2 = null";
# error StringRightTruncation is expected
Command "update T_186 set col2 = -210987654321098765";
Command "select * from T_186";
Command "drop table T_186";
Command "create table T_187 (col1 decimal(36,36), col2 nvarchar(2))";
Command "insert T_187(col1) values (-0.654321098765432109876543210987654321)";
# error StringRightTruncation is expected
Command "update T_187 set col2 = col1";
Command "select * from T_187";
Command "update T_187 set col2 = null";
# error StringRightTruncation is expected
Command "update T_187 set col2 = -0.654321098765432109876543210987654321";
Command "select * from T_187";
Command "drop table T_187";
Command "create table T_188 (col1 decimal(36,18), col2 nvarchar(2))";
Command "insert T_188(col1) values (null)";
Command "update T_188 set col2 = col1";
Command "select * from T_188";
Command "update T_188 set col2 = null";
Command "update T_188 set col2 = null";
Command "select * from T_188";
Command "drop table T_188";
Command "create table T_189 (col1 decimal(18,18), col2 nvarchar(2))";
Command "insert T_189(col1) values (0.654321098765432109)";
# error StringRightTruncation is expected
Command "update T_189 set col2 = col1";
Command "select * from T_189";
Command "update T_189 set col2 = null";
# error StringRightTruncation is expected
Command "update T_189 set col2 = 0.654321098765432109";
Command "select * from T_189";
Command "drop table T_189";
Command "create table T_190 (col1 decimal(36,0), col2 nvarchar(2))";
Command "insert T_190(col1) values (-1)";
Command "update T_190 set col2 = col1";
Command "select * from T_190";
Command "update T_190 set col2 = null";
Command "update T_190 set col2 = -1";
Command "select * from T_190";
Command "drop table T_190";
Command "create table T_191 (col1 decimal(2,1), col2 nvarchar(2))";
Command "insert T_191(col1) values (2.1)";
# error StringRightTruncation is expected
Command "update T_191 set col2 = col1";
Command "select * from T_191";
Command "update T_191 set col2 = null";
# error StringRightTruncation is expected
Command "update T_191 set col2 = 2.1";
Command "select * from T_191";
Command "drop table T_191";
Command "create table T_192 (col1 decimal(2,0), col2 nvarchar(2))";
Command "insert T_192(col1) values (65)";
Command "update T_192 set col2 = col1";
Command "select * from T_192";
Command "update T_192 set col2 = null";
Command "update T_192 set col2 = 65";
Command "select * from T_192";
Command "drop table T_192";
TerminateSession;
InitializeSession "TESTDB";
Command "drop database TESTDB";
TerminateSession;
Terminate;
End;
