前端之家收集整理的这篇文章主要介绍了
Oracle 创建 Schema,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
SELECT Username FROM dba_users;
CREATE USER gzmpc IDENTIFIED BY PASSWORD;
GRANT CREATE SESSION TO gzmpc;
CREATE TABLESPACE gzmoc_wk DATAFILE 'gzmoc_wk.dat' SIZE 10M AUTOEXTEND ON;
CREATE TEMPORARY TABLESPACE gzmoc_wk_tablespace_temp TEMPFILE 'gzmoc_tabspace_temp.dat' SIZE 5M AUTOEXTEND ON;
DROP USER gzmpc;
CREATE USER gzmpc IDENTIFIED BY PASSWORD DEFAULT TABLESPACE gzmoc_wk TEMPORARY TABLESPACE gzmoc_wk_tablespace_temp;
grant create session to gzmpc;
grant create table to gzmpc;
grant unlimited tablespace to gzmpc;
ALTER USER gzmpc IDENTIFIED BY gzmpc;
原文链接:https://www.f2er.com/oracle/212574.html