Oracle使用步骤备忘
来源:互联网 发布:qq飞车网络不稳定 编辑:程序博客网 时间:2024/05/24 07:40
/* Oracle创建表空间和用户的步骤 */
-- 第1步:创建临时表空间
create temporary tablespace yh_tycp_temp
tempfile 'D:\WorkProgfile\oracle\10.2.0\oradata\ecom\yh_tycp_temp.dbf'
size 50m
autoextend on
next 50m maxsize 1024m
extent management local;
--第2步:创建数据表空间
create tablespace yh_tycp_data
logging
datafile 'D:\WorkProgfile\oracle\10.2.0\oradata\ecom\yh_tycp_data.dbf'
size 50m
autoextend on
next 50m maxsize 10240m
extent management local;
--第3步:创建用户并指定表空间
create user tycp_deve identified by tycp_deve
default tablespace yh_tycp_data
temporary tablespace yh_tycp_temp;
--第4步:给用户授予权限
grant connect,resource to tycp_deve;
----------------------------------------
/* Oracle删除表空间和用户的步骤 */
--第1步:删除用户
drop user tycp_deve cascade;
--第2步:删除临时表空间
drop tablespace yh_tycp_temp including contents and datafiles;
--第3步:删除表空间
drop tablespace yh_tycp_data including contents and datafiles;
-- 第1步:创建临时表空间
create temporary tablespace yh_tycp_temp
tempfile 'D:\WorkProgfile\oracle\10.2.0\oradata\ecom\yh_tycp_temp.dbf'
size 50m
autoextend on
next 50m maxsize 1024m
extent management local;
--第2步:创建数据表空间
create tablespace yh_tycp_data
logging
datafile 'D:\WorkProgfile\oracle\10.2.0\oradata\ecom\yh_tycp_data.dbf'
size 50m
autoextend on
next 50m maxsize 10240m
extent management local;
--第3步:创建用户并指定表空间
create user tycp_deve identified by tycp_deve
default tablespace yh_tycp_data
temporary tablespace yh_tycp_temp;
--第4步:给用户授予权限
grant connect,resource to tycp_deve;
----------------------------------------
/* Oracle删除表空间和用户的步骤 */
--第1步:删除用户
drop user tycp_deve cascade;
--第2步:删除临时表空间
drop tablespace yh_tycp_temp including contents and datafiles;
--第3步:删除表空间
drop tablespace yh_tycp_data including contents and datafiles;
0 0
- Oracle使用步骤备忘
- ButterKnife 懒人神器 使用步骤 备忘
- cxf发布webservice 简单使用步骤备忘
- ORACLE TKPROF使用步骤
- ORACLE TKPROF使用步骤
- ORACLE TKPROF使用步骤
- ORACLE TKPROF使用步骤
- Oracle下row_number()over函数使用备忘
- oracle使用statspack简单步骤
- Oracle备忘
- ORACLE备忘
- 备忘:Oracle
- oracle备忘
- oracle 备忘
- 使用备忘
- oracle 序列的概念与使用步骤
- Oracle中使用fnd_log_messages调试的步骤
- Oracle 12c 使用普通用户的步骤
- 面向接口对象
- Android修改程序名称(包名)总结
- 习题3-42
- 磁盘与文件系统管理
- poj 1068 Parencodings
- Oracle使用步骤备忘
- JAVA基础笔记——String
- Codeforces Round #305 (Div. 2) E. Mike and Foam 容斥原理
- 我希望在软件开发生涯初期就知道的 4 件事
- composer换源
- 两类传输协议:TCP&UDP总结
- 深入浅出MyBatis-快速入门
- 阿里云Centos6.X安装mysql5.5.X
- 二、Ubuntu14.04下安装Hadoop2.4.0 (伪分布模式)