》》》Oracle数据库创建新用户
--表空间
CREATE TABLESPACE sdt
DATAFILE 'd:\tablespace\demo\demo.dmp' size 800M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--创建表空间索引
CREATE TABLESPACE sdt_Index
DATAFILE 'd:\tablespace\demo\demo1.dmp' size 512M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--创建用户
create user icdpub identified by icdpub
default tablespace sdt;
--给用户赋权限
grant connect,resource to icdpub;
grant create any sequence to icdpub;
grant create any table to icdpub;
grant delete any table to icdpub;
grant insert any table to icdpub;
grant select any table to icdpub;
grant unlimited tablespace to icdpub;
grant execute any procedure to icdpub;
grant update any table to icdpub;
grant create any view to icdpub;