阅 读 文 章

有答案的DB2 700,701题库

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


   deptno   CHAR(3)  NOT NULL 
   deptname CHAR(20) NOT NULL 
   mgrno    CHAR(6)  
   admrdept CHAR(3) 
   location CHAR(20) NOT NULL
Which of the following will select the rows that do not have a value in the MGRNO column?

 A. SELECT * FROM department WHERE mgrno = ' '  
 B. SELECT * FROM department WHERE mgrno = NULL  
 C. SELECT * FROM department WHERE mgrno IS NULL  
 D. SELECT * FROM department WHERE mgrno IS UNKNOWN  

D    17.  Given the following SQL statement: 
GRANT REFERENCES ON TABLE tab1 TO USER usera 
Which of the following describes what USERA is allowed to do?
 A. Create a read-only view using TAB1.  
 B. Alter TAB1 to add a check constraint.  
 C. Define a primary key or unique constraint on TAB1.  
 D. Define a dependent table where TAB1 is the parent.  

A     18.  Given the following DDL statement: 
CREATE TABLE newtab1 LIKE tab1 
Which of the following would occur as a result of the statement execution?
 A. NEWTAB1 would have the same column names and attributes as TAB1  
 B. NEWTAB1 would have the same column names, attributes, and data as TAB1  
 C. NEWTAB1 would have the same column names, attributes, indexes, and constraints as TAB1  
 D. NEWTAB1 would have the same column names, attributes, and referential integrity as TAB1  

C    19. Which of the following tools is used to create subscription sets and add subscription-set members to subscription sets?
A. Journal
B. License Center
C. Replication Center
D. Development Center

B     20.  Table T1 should only allow values of 1, 2, and 3 in column C1. Which of the following will cause the database manager to enforce this business requirement?
TAG标签 : 题库 答案 c1 INT selected. SELECT NULL 1record c2

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

发表评论

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