zoukankan      html  css  js  c++  java
  • OCP-1Z0-052-V8.02-159题

    159. View the Exhibit and examine the user information.

    The user has been granted CONNECT and RESOURCE roles and no individual system privileges. The

    SL_REP user executes this command to create a table:

    SQL> CREATE TABLE orders(oid number(6), odate date, ccode number(4), oamt 

    number(10,2)) TABLESPACE purchase_space;

    The PURCHASE_SPACE tablespace already exists in the database. Which statement describes the

    effect of the command?

    A.The command executes successfully and creates the table in the USERS tablespace.

    B.The command executes successfully and creates the table in the PURCHASE_SPACE tablespace.

    C.The command produces an error because the user does not have the privilege to create the table.

    D.The command produces an error because the user does not have quota in the PURCHASE_SPACE

    tablespace.

    Answer: B  

    答案解析:

    参考:http://blog.csdn.net/rlhua/article/details/12276409

    因为RESOURCE角色有CREATE TABLE的权限,故此命令可以创建成功。


  • 相关阅读:
    注释
    选择器
    SQL语句中查找字符的位置
    SQL语句中截取字符串Substr
    IDENTITY(函数)
    SQL Server设置主键自增长列
    SQL语句操作ALTER
    表的主键
    南京夜市
    夜班
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316971.html
Copyright © 2011-2022 走看看