730部分题疑问 请大家帮忙解疑

本资料无预览

如感兴趣请购买后下载

立即下载

资料简介:

1.Which type of key is defined on the child table to implement a referential constraint?

A. Unique keyB. Primary keyC. Foreign keyD. Composite key           答案给了B       下列哪个键能被定义在子表上,去实施参照性约束? 为什么不是选C?

-------------------------------------------------------------

2.Which of the following strings can be inserted into an XML column using XMLPARSE?

A. ""

B. ""

C. ""

D. ""     答案给了A

   但是在Which of the following strings can NOT be inserted into an XML column using XMLPARSE()?

      A. ""       B. "John Doe"       C. ""

      D. "

"  题中  答案是A          与上一题矛盾

3.Which of the following supports the XML data type?

A. A unique index

B. A composite index

C. A check constraint

D. A generated column            答案给A

     但是Which of the following CREATE TABLE statements will NOT be successful?

      A. CREATE TABLE t1 (c1 XML NOT NULL UNIQUE, c2 INT)      B. CREATE TABLE t1 (c1 XML NOT NULL, c2 CHAR(20))      C. CREATE TABLE t1 (c1 XML CHECK (c1 IS VALIDATED), c2 INT)

      D. CREATE TABLE t1 (c1 XML, c2 XML)      中的答案是A   与上一题答案矛盾,而且

                each XML column used has the following restrictions:

                     It cannot be part of any index except an XML index.                     It cannot be included as a column of a primary key or unique constraint.

                     It cannot be a foreign key of a referential constraint.

大家帮忙做以上三个题?谢谢

         

2011-04-13
浏览9163
下载0

已下载用户的评价

您还未下载该资料,不能发表评价;
查看我的 待评价资源
fengwhq fengwhq 联盟成员 数据库管理员 某城商行 2012-05-09
没用
学习了,刚好也有这些疑惑,感谢!
db2test db2test 数据库管理员 单位 2011-08-26
没用
学习了
520bushiba 520bushiba 软件开发工程师 ADTEC 2011-08-11
没用
受用了
wueden wueden 数据库管理员 arrail-dental 2011-08-10
没用
O(∩_∩)O谢谢啦...解释的很好
susanxxf susanxxf 数据库管理员 Nantian 2011-04-20
没用
第1题:个人也觉得应该选C(官方书后样题答案分析里有,只是答案选项印刷有误)。 第2题: Which of the following strings can be inserted into an XML column using XMLPARSE? 选A正解, Which of the following strings can NOT be inserted into an XML column using XMLPARSE()? 应该选C 第3题:4楼已经说明。
ly4983 ly4983 数据库运维工程师 黑龙江博众 2011-04-20
没用
多谢
wy6800115 wy6800115 系统工程师 威迪 2011-04-19
没用
第3题应该选择C.参考:xml columns can be referenced in a check constraint only if CHECK constraint contains the VALIDATED predicate.
ly4983 ly4983 数据库运维工程师 黑龙江博众 2011-04-18
没用
怎么没有人来回答啊? 还有几道题需要问大家呢 都不敢发出来了
wy6800115 wy6800115 系统工程师 威迪 2011-04-13
没用
这三个题很好,共同学习。

贡献者

ly4983 数据库运维工程师,黑龙江博众
X社区推广