//第一步:查看数据库表空间位置
select t1.name,t2.name from v$tablespace t1,v$datafile t2 where t1.ts# = t2.ts#;
//第二步:创建临时及默认表空间
create temporary tablespace spacename_temp
tempfile 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\spacename.DBF'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create tablespace spacename
logging
datafile '第一步的路径\tablespacename.DBF'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
//第三步:创建用户并指定表空间
create user username identified by password
default tablespace spacename
temporary tablespace spacename_temp;
//第四步:给用户授予权限
grant dba,connect,resource to username;
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有