首页 > 数据库 >Oracle OCP 19c认证考试1Z0-082题库最新解析 第四题

Oracle OCP 19c认证考试1Z0-082题库最新解析 第四题

时间:2023-09-07 16:02:53浏览次数:53  
标签:事务 after followed 1Z0 082 successfully DML executing 19c

4. You currently have an active transaction in your session and have been granted select access to V$TRANSACTION

In which three situations will re-executing this query still return a row but with a different XID

indicating a new transaction has started?

A.after successfully executing a TRUNCATE statement followed by a DML statement

B.after successfully executing a CREATE TABLE AS Select statement followed by a SELECT  FOR UPDATE statement

C.after successfully executing a CREATE TABLE statement followed by a CREATE INDEX statement

D.after successfully executing a commit or ROLLBACK followed by a DML statement

E.after successfully executing a DML statement following a failed DML statement

F. after successfully executing a commit or ROLLBACK followed by a Select statement


参考答案:ABD

解析:

题目问执行下面各个选项的操作之后,查询v$transaction表,返回一行,但是有不同的XID,只要commit rollback之后再在同一个表上发生事务,xid就会发生变化

A:TRUNCATE隐式提交,然后DML接着产生了一个事务

B:CREATE隐式提交,然后for update会产生一个事务

C:CREATE INDEX,虽说会修改数据字典产生事务,但是存在隐式提交,事务消失

D:提交或者回滚,事务结束,再进行DML,产生一个事务

E:失败的DML不产生事务

F:SELECT不产生事务

标签:事务,after,followed,1Z0,082,successfully,DML,executing,19c
From: https://blog.51cto.com/u_16241820/7398195

相关文章

  • 20230829-sessionStorage实现数据的增删改查
    sessionStorage实现数据的增删改查#sessionStorage实现数据的增删改查(sessionStorage的方法对比localstorage)<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=......
  • 20230829-实现圣杯布局
    左右两边固定,中间自适应的布局方式(圣杯布局)<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>Do......
  • 20230829-给ui下面的li绑定事件
    给ui下面的li绑定事件#给下面的每个li绑定点击事件点击打印的结果分别是123(提示:事件委托)<ul><li>1<li><li>2<li><li>3<li></ul><!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-......
  • 20230829-面试题html+css5道题记录
    css预处理工具参考答案:CSS预处理器是一个能让你通过预处理器自己独有的语法来生成CSS的程序。css预处理器种类繁多,三种主流css预处理器是Less、Sass(Scss)及Stylus;它们各自的背景如下:Sass:2007年诞生,最早也是最成熟的CSS预处理器,拥有ruby社区的支持和compass这一最强大的css框......
  • 20230825-面试题html+css5篇简单记录
    html标签的类型(head,body,!Doctype)他们的作用是什么!DOCTYPE标签:它是指示web浏览器关于页面使用哪个HTML版本进行编写的指令.head:是所有头部元素的容器,绝大多数头部标签的内容不会显示给读者该标签下所包含的部分可加入的标签有base,link,meta,script,style和title......
  • 220230825-纯js实现以下代码
    题目<ul><li>1<li><li>2<li><li>3<li></ul>代码<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"con......
  • 220230825-localstorage实现数据的增删改查
    演示案例<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>Document</title>......
  • 220230823-flex实现水平垂直居中
    <!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>flex</title><......
  • ORA-01031: insufficient privileges 19c跨用户视图查询 with grant option
    问题概述某客户从11.2.0.1升级迁移到19.16版本后,应用反应部分查询功能无法使用报无权限,数据库中增加了ORA-01031:insufficientprivileges跟踪event进行分析问题复现创建三个测试用户createusertest1identifiedbyoracle123;createusertest2identifiedbyoracle123;......
  • 绿厂20230826笔试记录
    绿厂20230826笔试记录选择题遇到的一些知识点1.L1、L2正则化相关知识2.指针的指针3.SQL连接(join)4.哈夫曼树带权路径长度编程题(3道)1.输入n,输出长为n的str中包含oppo子串最大数量示例:输入:8输出:2(oppooppo)ps:等价于长为n的循环串“oppoppoppoppo……”,输出里面含oppo......