当前位置: 首页> 健康> 养生 > Oracle创建数据库

Oracle创建数据库

时间:2025/7/12 14:46:58来源:https://blog.csdn.net/beijing20110905/article/details/140957988 浏览次数:0次

使用server上的sqlplus登录;
drop user KJGH41 cascade;
drop tablespace KJGH41 including contents;
drop tablespace KJGH41TEMP including contents;

create tablespace KJGH41 datafile 'D:\devtool\oracle11\oradata\orcl\KJGH4101.dbf' size 128M reuse autoextend on next 16K maxsize unlimited extent management local autoallocate; 
 
create temporary tablespace KJGH41TEMP tempfile 'D:\devtool\oracle11\oradata\orcl\KJGH41TEMP01.dbf' size 64M reuse autoextend on next 1024K MAXSIZE 2048M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1024K; 

create user KJGH41 identified by prdct default tablespace KJGH41 temporary tablespace KJGH41TEMP quota unlimited on KJGH41; 

grant connect, dba to KJGH41; 
grant select any table to KJGH41; 
grant delete any table to KJGH41; 
grant insert any table to KJGH41; 
grant update any table to KJGH41; 
grant execute any procedure to KJGH41;

imp KJGH41/KJGH41@ORCLlocal fromuser=KJGH41 touser=KJGH41 file=E:\项目文件\武汉市地籍调查示范点项目\数据库设计参考\深圳质检.dmp
ORCLlocal是你在tnsnames.ora的名称

关键字:Oracle创建数据库

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: