|
(panipuri)/home/taoewang->db2 "create table t5 (c1 integer, c2 integer not null generated always as identity (start with +1 increment by +1 minvalue +1 maxvalue +9999999 cycle no cache order))"
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "insert into t5 values (1)"
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0117N The number of values assigned is not the same as the number of
specified or implied columns. SQLSTATE=42802
(panipuri)/home/taoewang->db2 "insert into t5 c1 values (1)"
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "c1 values" was found following "insert into T5
". Expected tokens may include: "<values>". SQLSTATE=42601
(panipuri)/home/taoewang->db2 "insert into t5 (c1) values (1)"
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "insert into t5 (c1) values (2)"
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "insert into t5 (c1) values (3)"
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "select * from t5"
C1 C2
----------- -----------
1 1
2 2
3 3
3 record(s) selected.
(panipuri)/home/taoewang->db2move sample export -tn TAOEWANG.T5
***** DB2MOVE *****
Action: EXPORT
Start time: Tue Jul 4 15:11:46 2006
All table names matching: TAOEWANG.T5;
Connecting to database SAMPLE ... successful! Server: DB2 Common Server V8.2.3
Binding package automatically ...
Bind file: /home/taoewang/sqllib/bnd/db2move.bnd
Bind was successful!
Disconnecting from database ... successful!
End time: Tue Jul 4 15:11:48 2006
(panipuri)/home/taoewang->db2 drop table t5
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "create table t5 (c1 integer, c2 integer not null generated always as identity (start with +1 increment by +1 minvalue +1 maxvalue +9999999 cycle no cache order))"
DB20000I The SQL command completed successfully.
(panipuri)/home/taoewang->db2 "import from tab1.ixf of ixf method P(1) replace into t5 (c1)"
SQL3150N The H record in the PC/IXF file has product "DB2 02.00", date
"20060704", and time "151354".
SQL3153N The T record in the PC/IXF file has name "tab1.ixf", qualifier "",
and source " ".
SQL3109N The utility is beginning to load data from file "tab1.ixf".
SQL3110N The utility has completed processing. "3" rows were read from the
input file.
SQL3221W ...Begin COMMIT WORK. Input Record Count = "3".
SQL3222W ...COMMIT of any database changes was successful.
SQL3149N "3" rows were processed from the input file. "3" rows were
successfully inserted into the table. "0" rows were rejected.
Number of rows read = 3
Number of rows skipped = 0
Number of rows inserted = 3
Number of rows updated = 0
Number of rows rejected = 0
Number of rows committed = 3
(panipuri)/home/taoewang->db2 "select * from t5"
C1 C2
----------- -----------
1 1
2 2
3 3
3 record(s) selected.
(panipuri)/home/taoewang-> |
|