--创建表空间
CREATE TABLESPACE "GWLS" DATAFILE 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\GWLS.DBF' SIZE 100M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--创建用户名并确定表空间
CREATE USER gwls IDENTIFIED BY gwls PROFILE DEFAULT DEFAULT TABLESPACE "GWLS" TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;
--给用户赋予DBA权限
grant DBA to gwls;
oracle创建表空间
最新推荐文章于 2023-05-09 13:23:36 发布