db shutdown

来源:互联网 发布:mac pro如何使用 编辑:程序博客网 时间:2024/06/05 14:56

  SQL> conn scott/tiger
已连接。
SQL> select * from hxg_t1;

         A B                    C
---------- -------------------- --
         1 aaa                  bb
         2 c                    dd
         3 edddeee              ff
         4 ggggg                hh
         5 iiiiii               jj
         6 kkkkkk               LL
         6 MMMMM                NN
         7 OOOOO                PP
         8 qqqq                 r
         9 ssss                 tt
        10 !@#$%^&*()_+         rt

         A B                    C
---------- -------------------- --
        11 =-12345567890        pl
        12 <>?:"{}|~`,./;[]/    we
        13 <>?:"{}|~`,./;[]/    uy
        14 <>?:"{}|~`,./;[]/    iu

已选择15行。

SQL> insert into hxg_t1 values (15,'asjhf','ui');

已创建 1 行。

SQL> insert into hxg_t1 values (15,'poojfe','lq');

已创建 1 行。

SQL> insert into hxg_t1 values (15,'jkweji','t');

已创建 1 行。

SQL> insert into hxg_t1 values (16,'kmffsa','x');

已创建 1 行。

SQL> insert into hxg_t1 values (17,'gewwe','zz');

已创建 1 行。

SQL> insert into hxg_t1 values (18,'322nak','ff');

已创建 1 行。

SQL> insert into hxg_t1 values (19,'hello world','q');

已创建 1 行。

SQL> update hxg_t1 set b='28n$##' where a=12;

已更新 1 行。

SQL> update hxg_t1 set b='iow' where a=13;

已更新 1 行。

SQL> insert into hxg_t1 values (20,'hi ! ','vv');

已创建 1 行。

SQL> insert into hxg_t1 values (21,'how are you ? ','c');

已创建 1 行。

 

【SQL> shutdown transactional】

 


SQL> insert into hxg_t1 values (22,'fine,thank you! ','w');

已创建 1 行。

SQL> update hxg_t1 set  a=23 where b='poojfe';

已更新 1 行。

SQL> update hxg_t1 set  a=24 where b='jkweji';

已更新 1 行。

SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开


SQL> shutdown transactional
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。

Total System Global Area  205520896 bytes
Fixed Size                  1248116 bytes
Variable Size              62915724 bytes
Database Buffers          138412032 bytes
Redo Buffers                2945024 bytes
数据库装载完毕。
数据库已经打开。

C:/Documents and Settings/hxg>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 9月 28 10:25:04 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn scott/tiger
已连接。
SQL> select * from hxg_t1;

         A B                    C
---------- -------------------- --
         1 aaa                  bb
         2 c                    dd
         3 edddeee              ff
         4 ggggg                hh
         5 iiiiii               jj
         6 kkkkkk               LL
         6 MMMMM                NN
         7 OOOOO                PP
         8 qqqq                 r
         9 ssss                 tt
        10 !@#$%^&*()_+         rt

         A B                    C
---------- -------------------- --
        11 =-12345567890        pl
        12 28n$##               we
        13 iow                  uy
        14 <>?:"{}|~`,./;[]/    iu
        15 asjhf                ui
        23 poojfe               lq
        24 jkweji               t
        16 kmffsa               x
        17 gewwe                zz
        18 322nak               ff
        19 hello world          q

         A B                    C
---------- -------------------- --
        20 hi !                 vv
        21 how are you ?        c
        22 fine,thank you!      w

已选择25行。

SQL> insert into hxg_t1 values  (25,'exit','ha');

已创建 1 行。

SQL> insert into hxg_t1 values  (26,'startup','gh');

已创建 1 行。

SQL> insert into hxg_t1 values  (27,'mount','db');

已创建 1 行。

SQL> update hxg_t1 set b='oracle' where a=6 and c='ll';

已更新0行。

SQL> update hxg_t1 set b='oracle' where a=6 and c='LL';

已更新 1 行。

SQL> shutdown normal

SQL> update hxg_t1 set b='oracle erp' where a=4;

已更新 1 行。

SQL> insert into hxg_t1 values  (28,'ebs suite','cm');

已创建 1 行。

SQL> insert into hxg_t1 values  (29,'weblogic','sv');

已创建 1 行。

SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开



SQL> shutdown normal
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。

Total System Global Area  205520896 bytes
Fixed Size                  1248116 bytes
Variable Size              62915724 bytes
Database Buffers          138412032 bytes
Redo Buffers                2945024 bytes
数据库装载完毕。
数据库已经打开。

 

C:/Documents and Settings/hxg>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 9月 28 10:33:44 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn scott/tiger
已连接。

SQL> select * from hxg_t1 order by a;

         A B                    C
---------- -------------------- --
         1 aaa                  bb
         2 c                    dd
         3 edddeee              ff
         4 oracle erp           hh
         5 iiiiii               jj
         6 oracle               LL
         6 MMMMM                NN
         7 OOOOO                PP
         8 qqqq                 r
         9 ssss                 tt
        10 !@#$%^&*()_+         rt

         A B                    C
---------- -------------------- --
        11 =-12345567890        pl
        12 28n$##               we
        13 iow                  uy
        14 <>?:"{}|~`,./;[]/    iu
        15 asjhf                ui
        16 kmffsa               x
        17 gewwe                zz
        18 322nak               ff
        19 hello world          q
        20 hi !                 vv
        21 how are you ?        c

         A B                    C
---------- -------------------- --
        22 fine,thank you!      w
        23 poojfe               lq
        24 jkweji               t
        25 exit                 ha
        26 startup              gh
        27 mount                db
        28 ebs suite            cm
        29 weblogic             sv

已选择30行。

SQL> insert into hxg_t1 values (30,'peple soft','sd');

已创建 1 行。

SQL> update hxg_t1 set a=31 where b='oracle';

已更新 1 行。


SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。

SQL> insert into hxg_t1 values (31,'soft','we');
insert into hxg_t1 values (31,'soft','we')
       *
第 1 行出现错误:
ORA-03113: 通信通道的文件结束


SQL> startup
ORACLE 例程已经启动。

Total System Global Area  205520896 bytes
Fixed Size                  1248116 bytes
Variable Size              62915724 bytes
Database Buffers          138412032 bytes
Redo Buffers                2945024 bytes
数据库装载完毕。
数据库已经打开。
SQL>

SQL> conn scott/tiger
已连接。
SQL> select * from hxg_t1;

         A B                    C
---------- -------------------- --
         1 aaa                  bb
         2 c                    dd
         3 edddeee              ff
         4 oracle erp           hh
         5 iiiiii               jj
         6 oracle               LL
         6 MMMMM                NN
         7 OOOOO                PP
         8 qqqq                 r
         9 ssss                 tt
        10 !@#$%^&*()_+         rt

         A B                    C
---------- -------------------- --
        11 =-12345567890        pl
        12 28n$##               we
        13 iow                  uy
        14 <>?:"{}|~`,./;[]/    iu
        15 asjhf                ui
        23 poojfe               lq
        24 jkweji               t
        16 kmffsa               x
        17 gewwe                zz
        18 322nak               ff
        19 hello world          q

         A B                    C
---------- -------------------- --
        20 hi !                 vv
        21 how are you ?        c
        22 fine,thank you!      w
        25 exit                 ha
        26 startup              gh
        27 mount                db
        28 ebs suite            cm
        29 weblogic             sv

已选择30行。

SQL>

 

原创粉丝点击