易截截图软件、单文件、免安装、纯绿色、仅160KB

ORACLE 10G常用命令

---创建表空间
create tablespace 表空间名字 datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss01.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss02.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss03.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss04.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss05.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss06.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss07.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss08.dbf' size 4096M;
alter tablespace 表空间名字 add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss09.dbf' size 2048M;
---创建表空间
alter tablespace SYSAUX add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\sysaux02.dbf' size 512M;
alter   database   datafile   'E:\oracle\product\10.2.0\oradata\pluto\ysstech01.dbf'    offline   drop
create undo tablespace UNDOTBS2 datafile 'E:\oracle\product\10.2.0\oradata\pluto\undotbs02.dbf' SIZE 300M AUTOEXTEND ON;
alter system set UNDO_TABLESPACE=UNDOTBS2
DBA_ROLLBACK_SEGS
drop tablespace UNDOTBS1
-- 如果undo表空间undotbs不能释放空间,重建之
-- 创建备用undo表空间
create undo tablespace newundotbs datafile '$ORA_DATA/newundotbs01.dbf' size 1000m
/
-- 切换undo表空间
alter system set undo_tablespace=newundotbs scope=spfile
/
shutdown immediate
/
startup
/
-- drop原表空间
drop tablespace undotbs including contents and datafiles
/
-- 创建原undo表空间
create undo tablespace undotbs datafile '$ORA_DATA/undotbs01.dbf' size 1000m
/
-- 切换undo表空间
alter system set undo_tablespace=undotbs scope=spfile
/
-- 关闭重起并把备


相关文档:

OCP认证考试指南(4):接合Oracle数据库

一、SQL的使用
CREATE、ALTER和DROP是主要的3种DDL语句,这些语句被用于在数据库中添加、修改或删除对象。
DCL语句包括GRANT和REVOKE命令,它们可以被用于为用户或角色授予或取消权限,可以被授予和取消的两种权限是系统权限和对象权限。取决于不同的对象类型,对象权限可能不同。
操纵或检索数据都需要使用DML语句。D ......

Oracle中Cursor介绍

关键字 
概念 
类型 
异常处理 
一  概念 
游标是SQL的一个内存工作区,由系统或用户以变量的形式定义。游标的作用就是用于临时存储从数据库中提取的数据块。在某些情况下,需要把数据从存放在磁盘的表中调到计算机内存中进行处理,最后将处理结果显示出来或最 ......

ORACLE入门书籍推荐


Oracle入门书籍推荐
很多朋友要我帮忙推荐一下Oracle的入门书籍,能够了解Oracle的基本概念、基本知识的那种。
我就免为其难,推荐几本。
首先我想强调的一点是,任何一本系统的Oracle书籍只要认真读下来,都会有不错的收获,读书最忌讳的是虎头蛇尾,浅尝则止。
1.第一本要推荐给大家的是Oracle的概念手册,这本手册 ......

oracle clob 和blob问题的解决

oracle clob 和blob问题的解决
 
整理了oracle clob 和blob问题的解决办法:
1:建议使用oracle 10的ojdbc14.jar,否则当保存clob的时候可能会出现套接字错误; 
2:spring配置如下: 
java代码: 
        <bean id="sessionFact ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号