052-242(新增70题2018)

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

Cause: User does not have privileges to allocate an extent in the specified tablespace.
Action: Grant the user the appropriate system privileges or grant the user space resource on the tablespace.

转载于:https://www.cnblogs.com/Babylon/p/8623756.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值