首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

oracle 创设表空间和用户

2012-09-10 
oracle 创建表空间和用户写下备忘--创建表空间create tablespace 空间名? logging? datafile D:\dbpath\x

oracle 创建表空间和用户

写下备忘

--创建表空间
create tablespace 空间名?
logging?
datafile 'D:\dbpath\xxx.dbf'
size 50m;
--修改表空间自动增长
select file_id,aa.* from dba_data_files aa? where tablespace_name='空间名'
alter database datafile 33 autoextend on next 10M maxsize 10G;
--创建用户
create user 用户名 identified by password
default tablespace 空间名;

热点排行