创建表空间
create tablespace XXX datafile 'D:\oracle\product\10.2.0\oradata\orcl\xxx.dbf' size 200m autoextend on next 10m maxsize unlimited;
创建用户
create user xxx identified by xxx default tablespace XXX temporary tablespace temp
给用户授权
grant connect,resource,dba to xxx
导出命令
exp xxx/xxx@orcl file=d:\daochu.dmp owner=xxx
导入命令
imp xxx/xxx@orcl file=d:\daochu.dmp full=y ignore=y
create tablespace XXX datafile 'D:\oracle\product\10.2.0\oradata\orcl\xxx.dbf' size 200m autoextend on next 10m maxsize unlimited;
创建用户
create user xxx identified by xxx default tablespace XXX temporary tablespace temp
给用户授权
grant connect,resource,dba to xxx
导出命令
exp xxx/xxx@orcl file=d:\daochu.dmp owner=xxx
导入命令
imp xxx/xxx@orcl file=d:\daochu.dmp full=y ignore=y
本文介绍如何在Oracle数据库中创建表空间、用户及权限分配,并提供数据的导出与导入命令。详细步骤包括使用SQL语句创建指定大小并能自动扩展的表空间、创建带有默认表空间和临时表空间的用户、为用户授权以及执行全库数据的导出与导入。
1615

被折叠的 条评论
为什么被折叠?



