【2019年8月】OCP 071认证考试最新版本的考试原题-第30题「建议收藏」

【2019年8月】OCP 071认证考试最新版本的考试原题-第30题「建议收藏」choose two Evalute these conmands which execate sucestully CREATE SEQUENCE ord_seq INCREMENT BY 1 S…

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 的权限;可以从序列中获取下一个值。)

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/10913.html

(0)
上一篇 2022-12-19
下一篇 2022-12-19

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注