码迷,mamicode.com
首页 > 其他好文 > 详细

【2019年8月】OCP 071认证考试最新版本的考试原题-第30题

时间:2019-11-19 09:15:16      阅读:56      评论:0      收藏:0      [点我收藏+]

标签:ict   create   when   answer   use   sep   which   get   需要   

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

【2019年8月】OCP 071认证考试最新版本的考试原题-第30题

标签:ict   create   when   answer   use   sep   which   get   需要   

原文地址:https://blog.51cto.com/13854012/2451183

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!