Chinaunix首页 | 论坛 | 博客
  • 博客访问: 603419
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4916
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-11-18 15:01:27

choose two

Evalute these conmands which execate sucestully

CREATE SEQUENCE ord_seq

INCREMENT BY 1

START WITH 1

MAXVALUE 100000

CYCLE

CACHE 5000;

Which two statements are true atout the ORD_ITEMS table and the ORD_SEQ sequence?

A) Any user inserting rows into table ORD_ITEMS must have been granted access to sequence ORD_SEQ.

B) Colunn ORD_NO gets the next number from squence ORD_SEQ whenever a row is inserted into ORD_ITEMS and no explict value is given for ORD_NO.

C) Sepuence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20 times

D) IF sequence ORD_SEQ is dropped then the default value for column ORD_NO will be NULL for rows inserted into ORD_ITEMS.

E) Sequence ORD_SEQ is guaranteed not to genenate duplicate numbers.

Answer:AB

(解析:序列是可以共享的,但是需要给予 select 的权限;可以从序列中获取下一个值。)

阅读(837) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~