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;--给用户指定组,赋予权限

相关文章: