zoukankan      html  css  js  c++  java
  • 052-177

    Which three statements are correct about temporary tables? (Choose three.)
    A.Indexes and views can be created on temporary tables.
    B.Both the data and the structure of temporary tables can be exported.
    C.Temporary tables are always created in a user's temporary tablespace.
    D.The data inserted into a temporary table in a session is available to other sessions.
    E.Data manipulation language (DML) locks are never acquired on the data of temporary tables.

      在临时表中可以创建索引、视图及触发器,还可以使用“Export and Import(导出和导入)”或“Data Pump(数据泵)”导出和导入临时表的定义。但是,即使使用了 ROWS 选项,也不会导出数据。
    A,可以对临时表创建索引,视图,触发器,正确
    B,可以用 export 和 import 工具导入导出表的定义和数据,错误,不能导出数据。
    C,一个用户的临时表就放在当前用户的临时表空间中,创建临时表后并不产生任何 segments 分配,与普通表不同,正确。
    D,被插入临时表的数据能被其他会话访问,错误。临时表中的数据是基于一个会话或者一个事务的,其他的会话不能访问到。
    E,在临时表中,DML 锁永远不需要,正确。
    临时表可专用于事务处理,也可专用于会话。对于专用于事务处理的临时表而言,数据存在于事务处理期间;对于专用于会话的临时表而言,数据存在于会话期间。在这两种情况下,会话插入的数据专用于会话。每个会话仅可查看和修改自己的数据。因此,临时表的数据从不会获得 DML 锁。

  • 相关阅读:
    xmlHttpRequest参数
    蒙哥马利:“沙漠之狐”猎手
    c# as is 类型转换
    值类型和引用类型
    BuuctfmiscN种方法解决
    Buuctfmisc二维码
    Buuctfweb[HCTF 2018]WarmUp
    Buuctfmisc大白
    map用索引作下标之后,再插值时报错.
    c++ stl 的string 的size() legth()区别
  • 原文地址:https://www.cnblogs.com/Babylon/p/8042175.html
Copyright © 2011-2022 走看看