首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

Oracle10g创设表空间、用户

2012-07-23 
Oracle10g创建表空间、用户撒也不说了,直接上代码-- 创建临时表空间 create temporary tablespace os_temp

Oracle10g创建表空间、用户
撒也不说了,直接上代码

-- 创建临时表空间 create temporary tablespace os_temp tempfile 'd:\Oracle\product\10.2.0\oradata\os_temp.dbf'size 100m autoextend onnext 100m maxsize 1024m extent management local; -- 创建数据表空间 create tablespace os_data datafile 'd:\Oracle\product\10.2.0\oradata\os_data.dbf'size 100m autoextend onnext 100m maxsize 1024m extent management local; -- 创建用户 create user os identified by os default tablespace os_data temporary tablespace os_temp; -- 给用户授予权限 grant connect,resource to os;   -- 删除表空间 drop tablespace os_data including contents and datafiles;

热点排行