[oracle@hundsun ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Nov 24 21:48:58 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
idle> startup ORACLE instance started.
Total System Global Area 167772160 bytes Fixed Size 1218316 bytes Variable Size 71305460 bytes Database Buffers 92274688 bytes Redo Buffers 2973696 bytes Database mounted. Database opened. idle> conn scott/tiger Connected. scott@NIUGE> create table t(documentno int,update_time number(8,0),bu varchar2(10), name varchar(20));
Table created.
scott@NIUGE> insert into t values(1001,'20061213','xx','alex');
1 row created.
scott@NIUGE> commit;
Commit complete.
scott@NIUGE> insert into t values(1001,'20060910','yy','xx');
1 row created.
insert into t values(1002,'20070910','zz','xx'); scott@NIUGE> 1 row created.
scott@NIUGE> insert into t values(1002,'20081213','jj','dd');
1 row created.
scott@NIUGE> commit;
Commit complete.
scott@NIUGE> select * from t 2 /
DOCUMENTNO UPDATE_TIME BU NAME ---------- ----------- ---------- --------------------
1001 20061213 xx alex 1001 20060910 yy xx 1002 20070910 zz xx 1002 20081213 jj dd
|