Create schemas for new prod

yuanqc發表於2015-12-02


create tablespace DATA datafile '+ORA_DATA' size 100M autoextend on;

create user OWNER identified by **** default tablespace DATA temporary tablespace TEMP;
create user USER identified by **** default tablespace DATA temporary tablespace TEMP;

grant connect, resource to OWNER;
grant create view,create synonym to OWNER;
alter user OWNER quota unlimited on DATA;

grant connect to USER;
grant create synonym,create view to USER;

grant execute on DBMS_CRYPTO to OWNER;
grant execute on DBMS_CRYPTO to USER;

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10973950/viewspace-1851669/,如需轉載,請註明出處,否則將追究法律責任。

相關文章