1 echo char datatype testing
;
3 Statement Executed
: Rows Affected
= 1
4 Statement Executed
: Rows Affected
= 1
5 Statement Executed
: Rows Affected
= 1
6 Statement Executed
: Rows Affected
= 1
7 Statement Executed
: Rows Affected
= 1
8 Statement Executed
: Rows Affected
= 1
9 Statement Executed
: Rows Affected
= 1
10 Statement Executed
: Rows Affected
= 1
11 Statement Executed
: Rows Affected
= 1
12 Statement Executed
: Rows Affected
= 1
13 Statement Executed
: Rows Affected
= 1
14 echo select * from t1
;
15 ---------------------------------------------------------
17 ---------------------------------------------------------
30 echo select * from t1 where f1
= '10';
31 ---------------------------------------------------------
33 ---------------------------------------------------------
36 echo select * from t1 where f1
!= '12' AND f2
<= '13';
37 ---------------------------------------------------------
39 ---------------------------------------------------------
41 echo select * from t1 where f1
= '12' AND f2
>= '22';
42 ---------------------------------------------------------
44 ---------------------------------------------------------
47 echo select * from t1 where f1
= '12' OR f1
> '13';
48 ---------------------------------------------------------
50 ---------------------------------------------------------
60 echo select * from t1 where f1
= '12' OR f2
= '13';
61 ---------------------------------------------------------
63 ---------------------------------------------------------
66 echo select * from t1 where f1
= '12' OR f2
< '22';
67 ---------------------------------------------------------
69 ---------------------------------------------------------
82 echo select * from t1 where NOT f1
= '12';
83 ---------------------------------------------------------
85 ---------------------------------------------------------
97 echo select * from t1 where f1
!= '12';
98 ---------------------------------------------------------
100 ---------------------------------------------------------
106 This is really a ve E
110 uppercaseletter LOWER
112 echo select * from t1 where NOT f1
!= '12';
113 ---------------------------------------------------------
115 ---------------------------------------------------------
118 echo select * from t1 where f1
= f2
;
119 ---------------------------------------------------------
121 ---------------------------------------------------------
124 echo select * from t1 where f2 between
'A' AND
'C';
125 ---------------------------------------------------------
127 ---------------------------------------------------------
132 echo update t1
set f2
= '2' where f1
!= f2
;
133 Statement Executed
: Rows Affected
= 10
134 ---------------------------------------------------------
136 ---------------------------------------------------------
143 This is really a ve
2
149 echo update t1
set f2
= '3' where f1
= '50';
150 Statement Executed
: Rows Affected
= 1
151 ---------------------------------------------------------
153 ---------------------------------------------------------
160 This is really a ve
2
166 Statement Executed
: Rows Affected
= 1
167 ---------------------------------------------------------
169 ---------------------------------------------------------
175 This is really a ve
2