创建一个命名空间

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;
posted @ 2012-04-14 22:00  残阳飞雪  阅读(621)  评论(1)    收藏  举报