Oracle创建表空间创建用户和用户授权
--创建表空间
CREATE TABLESPACE ewf LOGGING DATAFILE 'D:\oracle\admin\oanet\ewf.dbf'
SIZE 100M AUTOEXTEND ON NEXT 32M MAXSIZE 500M EXTENT MANAGEMENT LOCAL;
--创建临时表空间
create temporary tablespace temp_ew tempfile 'D:\oracle\admin\oanet\temp_ew.dbf'
size 100m autoextend on next 32m maxsize 500m extent management local;
--创建用户
CREATE USER ewf IDENTIFIED BY gd_base DEFAULT TABLESPACE ewf TEMPORARY TABLESPACE temp_ew;
--用户授权grant connect,resource,dba to ewf;grant create session to ewf;
--删除表空间drop tablespace ewf including contents and datafiles cascade constraints ;
--删除用户信息drop user ewf cascade;
本文由博客群发一文多发等运营工具平台 OpenWrite 发布