grant create any table to RMTB . 可以找一些有关的SQL的书来看看。
但首先用 system/manager 登陆。 另外 还要 grant resource to RMTB
SQL> grant create any table to RMTDB; grant create any table to RMTDB * ERROR :位于第一行 ORA-01031:?????
grant create any table to RMTB 成功了,又出现如下问题,真的是没办法解决,好难啊,Oracle 怎么如此难入门 ------------- SQL> show user; USER is "RMTDB" SQL> create table com(type varchar(10)); create table com(type varchar(10)) * ERROR at line 1: ORA-01950: no privileges on tablespace 'SYSTEM' ----------------------------------------- 这该如何解决啊。
用 system/manager 登陆, 执行 : grant resource to RMTB ;
用 system/manager 登陆, 执行 : grant tablespace system to RMTB ;
grant resource to RMTB ;
建了,还出错。。 SQL> conn RMTDB; ÇëÊäÈë¿ÚÁî: ******* ÒÑÁ¬½Ó¡£ SQL> show user; USER Ϊ"RMTDB" SQL> desc test; ERROR£º ORA-04043: £¿£¿ test £¿£¿£¿ SQL> create table gsl(name varchar(10), 2 year varchar(10)); create table gsl(name varchar(10), * ERROR λÓÚµÚ 1 ÐÐ: ORA-01950: £¿£¿£¿'SYSTEM'£¿£¿£¿£¿
可以找一些有关的SQL的书来看看。
另外 还要 grant resource to RMTB
grant create any table to RMTDB
*
ERROR :位于第一行
ORA-01031:?????
-------------
SQL> show user;
USER is "RMTDB"
SQL> create table com(type varchar(10));
create table com(type varchar(10))
*
ERROR at line 1:
ORA-01950: no privileges on tablespace 'SYSTEM'
-----------------------------------------
这该如何解决啊。
执行 : grant resource to RMTB ;
执行 : grant tablespace system to RMTB ;
SQL> conn RMTDB;
ÇëÊäÈë¿ÚÁî: *******
ÒÑÁ¬½Ó¡£
SQL> show user;
USER Ϊ"RMTDB"
SQL> desc test;
ERROR£º
ORA-04043: £¿£¿ test £¿£¿£¿
SQL> create table gsl(name varchar(10),
2 year varchar(10));
create table gsl(name varchar(10),
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-01950: £¿£¿£¿'SYSTEM'£¿£¿£¿£¿
SQL> desc gao;ERROR ;位于第一行
ORA-00942: ??gao??
---------------------------
建的表空间和用户都是RMTDB。