阅 读 文 章

有答案的DB2 700,701题库

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(axjlxy) | 时间:2007-05-27 | 浏览: 人次 ]


          (C1 CHAR (3) 
           CONSTRAINT c1  
           CHECK (c1 IN ('A01','B01','C01')) 
           )
DB2 verifies that the table checks constraint is met during which of the following actions?
A. Reorganizing the table.  
 B. Updating any row in the table.  
 C. Adding an insert trigger to the table.  
 D. Creating a unique index for the table.  

B   4.  Given the following: 
A table contains a list of all seats on an airplane. A seat consists of a seat number and whether or not it is assigned. An airline agent lists all the unassigned seats on the plane. When the agent refreshes the list from the table, the list should not change. 
Which of the following isolation levels should be used for this application?
A. Read Stability 
B. Repeatable Read  
C. Cursor Stability  
D. Uncommitted Read

A    5. Given the following information: 
  CREATE TABLE tab1 (c1 CHAR (4), c2 INTEGER) 
  INSERT INTO tab1 VALUES ('123', 345) 
  UPDATE tab1 SET (c1, c2) = (NULL, 0)
What will be the result of the following statement if issued in the Command Line Processor?
  SELECT * FROM tab1;

 A. C1 C2 ---- ------------ 0 1 record(s) selected.
 B. C1 C2 ---- ----------- 123 345 1 record(s) selected.
 C. C1 C2 ---- ----------- NULL 0 1 record(s) selected.
 D. C1 C2 ---- ----------- 123 0 1 record(s) selected.

A    6.  Given table EMPLOYEE with columns EMPNO and SALARY, and table JOB with columns ID and TITLE, what is the effect of the following statement?
TAG标签 : 题库 答案 c1 INT selected. SELECT NULL 1record c2

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.newhtm.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.