oracle常用新库基本命令

创建表空间
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

猜你喜欢

转载自slip-123.iteye.com/blog/1667864