oracle里面不叫数据库了,叫创建一个命名空间
创建表空间的语法是:
CREATE TABLESPACE tablespacename
DATAFILE ‘filename’ [SIZE integer [K|M]]
[AUTOEXTEND [OFF|ON]];
--创建用户
create user scce identified by 123;
--授权
grant connect to scce;
grant resource to scce;
grant create synonym to scce;
--连接
SQL> conn scce/123;