1 echo "<<<<<<<<<<<<<<<<<<<<<<<< UPDATE t1 SET f1=f1+NULL >>>>>>>>>>>>>>>>>>>>>>";
2 echo create table t1
(f1 int not null
,f2 int
,f3 int
);
4 echo insert into t1 values
(1,2,3);
5 Statement Executed
: Rows Affected
= 1
6 echo insert into t1 values
(2,NULL
,4);
7 Statement Executed
: Rows Affected
= 1
8 echo insert into t1 values
(3,4,NULL
);
9 Statement Executed
: Rows Affected
= 1
10 echo insert into t1 values
(10,20,30);
11 Statement Executed
: Rows Affected
= 1
12 echo insert into t1 values
(11,NULL
,NULL
);
13 Statement Executed
: Rows Affected
= 1
15 echo select * from t1
;
16 ---------------------------------------------------------
18 ---------------------------------------------------------
25 echo update t1
set f1
=f1
+NULL
;
26 Statement execute failed with error
-22
28 echo select * from t1
;
29 ---------------------------------------------------------
31 ---------------------------------------------------------