《IBM DB2 97 DBA for Linux UNIX and Windows 000-541题库》.pdf
文本预览下载声明
000-541
000-541
DB2 9.7 DBA for Linux UNIX and
Windows
Version 3.1
买题库 QQ:860424807
000-541
QUESTION NO: 1
Given the DDL shown below:
CREATE TABLE tab1 (coll SMALLINT );
CREATE VIEW v1 AS SELECT coll FROMtabl WHERE coll 25 ;
CREATE VIEW V2 AS SELECT COI1 FROM v1 WITH CASCADED CHECK
OPTION
CREATE VIEW v3 AS SELECT coll FROM v2 WHERE coll 100 ;
Which statement will fail?
A. INSERT INTO v2 VALUES (35)
B. INSERT INTO v1 VALUES (5)
C. INSERT INTO v3 VALUES (25)
D. INSERT INTO v3 VALUES (200)
Answer: C
QUESTION NO: 2
Click the Exhibit button
Given the INSERT statements shown below:
INSERT INTO applicant VALUES (1 ,M 54);
INSERT INTO applicant VALUES (2, F, 38);
INSERT INTO applicant VALUES (3, M, 21);
INSERT INTO applicant VALUES (4, F, 91);
INSERT INTO applicant VALUES (5, C, 50);
INSERT INTO applicant VALUES (6, C, 70);
INSERT INTO applicant VALUES (7, C, 95);
How many rows will be successfully inserted?
A. 1
B. 3
C. 5
D. 7
Answer: C
QUESTION NO: 3
Which statement is correct about informational constraints?
买题库 QQ:860424807
000-541
A. An informational constraint can be used by the SQL compiler to improve the access to
data and query performance.
B. The database manager uses an informational constraint to enforce the uniqueness of
the key during changes to the columns of the unique constraint.
C. An informational constraint is a column or combination of columns that has the same
properties as a unique constraint.
D. An informational constraint specifies that every row that is inserted or updated in the
table must conform to the definition of the table.
Answer: A
QUESTION NO: 4
Click the Exhibit button.
买题库 QQ:860424807
000-541
显示全部