maixmo标准库导入

1:打开cmd

2:d:(盘符)

3:cd  d:\maximo\tools\maximo

4:maxinst -imaxdemo -czh

 

数据导出:

set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

exp maximo/maximo@maximo owner=(maximo) file=D:\database\%date:~4,10%.dmp log=%date:~4,10%.log

 

数据导入:

set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

imp maximo/maximo@127.0.0.1/maximo  file=d:\database\maximo.dmp  fromuser=(maximo) touser=(maximo)

 

 

--创建表空间

create tablespace MAXIMO datafile 

'D:\oracle\product\10.2.0\oradata\MAXIMO\maximo.def' size 1G

autoextend on next 100M maxsize unlimited logging

extent management local autoallocate

segment space management auto;

 

--创建用户maximo

create user maximo identified by maximo;

alter user maximo default tablespace maximo quota unlimited on maximo;

--alter user maximo quota unlimited on maximo_index;

alter user maximo temporary tablespace temp;

grant create trigger to maximo;

grant create session to maximo;

grant create sequence to maximo;

grant create synonym to maximo;

grant create table to maximo;

grant create view to maximo;

grant create procedure to maximo;

grant alter session to maximo;

grant execute on ctxsys.ctx_ddl to maximo;

--To allow Maximo to give Database Access to Maximo Users in Sig. Security, run these:

grant create user to MAXIMO;

grant drop user to MAXIMO;

grant create session to MAXIMO with ADMIN OPTION;

grant alter user to MAXIMO;

 

grant dba to MAXIMO;

--10g

grant create job to MAXIMO;

转载于:https://www.cnblogs.com/leeyq/archive/2010/11/11/1875224.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值