1 echo create table t1
(f1 int
,f2 char
(10));
3 echo insert into t1 values
(1,'x');
4 Statement Executed
: Rows Affected
= 1
5 echo insert into t1 values
(2,'y');
6 Statement Executed
: Rows Affected
= 1
7 echo set autocommit off
;
8 AUTOCOMMIT Mode is
set to OFF
9 echo update t1
set f2
='k' where f1
=2;
10 Statement Executed
: Rows Affected
= 1
11 echo select * from t1
;
12 ---------------------------------------------------------
14 ---------------------------------------------------------
19 echo select * from t1
;
20 ---------------------------------------------------------
22 ---------------------------------------------------------
26 echo insert into t1 values
(3,'k');
27 Statement Executed
: Rows Affected
= 1
28 echo insert into t1 values
(4,'p');
29 Statement Executed
: Rows Affected
= 1
31 echo insert into t1 values
(5,'t');
32 Statement Executed
: Rows Affected
= 1
34 echo select * from t1
;
35 ---------------------------------------------------------
37 ---------------------------------------------------------