Oracle 数据库 用脚本建表空间

1 create tablespace [TablespaceName]  datafile 'D:\filePath\fileName.dbf' size 1M autoextend on  next 1M  maxsize unlimited;--建表空间文件
2 CREATE USER username IDENTIFIED BY username DEFAULT TABLESPACE username;--建用户
3 GRANT CONNECT,DBA TO username;--给用户指定组,赋予权限


原文地址:https://www.cnblogs.com/format/p/1733433.html