You execute the following set of commands to create a database user and to grant the system privileges in your production environment.
SQL> CREATE USER user01
IDENTIFIED BY oracle
DEFAULT TABLESPACE tbs1
TEMPORARY TABLESPACE temp
PROFILE default
/
SQL> GRANT create session, create table TO user01;
While executing the command to create a table, the user gets the following error message and the CREATE TABLE ... command fails.
ERROR at line 1:
ORA-01950: no privileges on tablespace
What could be the possible reason for this error message?
A. The tablespace TBS1 is full.
B. The user is not the owner of the SYSTEM tablespace.
C. The user does not have quota on the TBS1 tablespace.
D. The user does not have sufficient system privileges to create table in the TBS1 tablespace.
E. The user does not have sufficient privileges to create table on the default permanent tablespace.
Answer: C
ORA-01950: no privileges on tablespace 'string
本文探讨了在创建数据库表时遇到ORA-01950错误的原因及解决办法。用户在使用授予的系统权限尝试创建表时收到错误提示,指出没有在指定表空间上的权限。文章详细解释了此错误的含义,即用户在特定表空间中没有分配段的权限,并提出了两种解决方案:一是授予用户适当的系统权限,二是为用户在该表空间上设置资源配额。
4173

被折叠的 条评论
为什么被折叠?



