最新的IBM Assessment: DB2 9.7 Application Development - A2090-543免費考試真題

Click the Exhibit button.
CONNECT TO test;
CREATE TABLE parent (empno CHAR(6), firstname VARCAHR(25), lastname VARCHAR(25));
CREATE TABLE child (childno CHAR(6), firstname VARCHAR(25), lastname VARCHAR(25),
empno
CHAR(6));
CREATE VIEW employee AS SELECT * FROM parent;
CREATE VIEW employee_children AS SELECT * FROM child;
COMMIT;
CONNECT RESET;
A DB2 Command Line Processor script file containing the commands and statements shown in
the exhibit was executed successfully.
Which technique can be used to produce a list of all employees and their children, including
employees who have no children?

正確答案: B
Using the default lock timeout and isolation level, user USER1 drops table TABLE1 however, the transaction is not committed. Subsequently, user USER2 attempts to access table TABLE1 using the default isolation level. What will occur?

正確答案: C
An application contains the statements shown below:
DECLARE csr1 CURSOR WITH HOLD FOR SELECT * FROM employee;
OPEN csr1;
FETCH csr1;
DECLARE csr2 CURSOR FOR SELECT * FROM employee;
OPEN csr2;
COMMIT;
CLOSE csr1;
When will cursor CSR1 lose position?

正確答案: D
Click the Exhibit button.
INSERT INTO table1 VALUES(1,11);
INSERT INTO table1 VALUES(2,11);
SAVEPOINT sp1 ON ROLLBACK RETAIN CURSORS;
INSERT INTO table1 VALUES(3,11);
INSERT INTO table1 VALUES(4,11);
INSERT INTO table1 VALUES(5,11);
SAVEPOINT sp2 ON ROLLBACK RETAIN CURSORS;
INSERT INTO table1 VALUES(6,11);
INSERT INTO table1 VALUES(7,11);
ROLLBACK TO SAVEPOINT sp2;
INSERT INTO table1 VALUES(8,11);
SAVEPOINT sp3 ON ROLLBACK RETAIN CURSORS;
INSERT INTO table1 VALUES(9,11);
ROLLBACK;
Application1 executes the SQL statements shown in the exhibit against table TABLE1 in manual
commit mode. How many rows will be inserted in TABLE1?

正確答案: D
Click the Exhibit button.
CREATE TABLE store(sid INTEGER, info XML);
INSERT INTO store VALUES (1,
'<storeinfo sid="1">
<name>ABCDEF</name>
</storeinfo>');
INSERT INTO store VALUES (2,
'<storeinfo sid="2">
<name>FEDCBA</name>
</storeinfo>');
Given the statements shown in the exhibit, a user executes the query shown below:
XQUERY for $store in db2-fn:xmlcolumn('STORE.INFO')/storeinfo
let $name := fn:substring($store/name, 1, 3),
$lcase := fn:lower-case($name)
return $lcase
What is the output?

正確答案: C
A database contains a table and a view declared as shown below:
CREATE TABLE s1.t1 ( c1 INTEGER, c2 CHAR(20) );
CREATE VIEW s1.v1 AS SELECT * FROM s1.t1;
A system administrator successfully executes the following code:
GRANT CONNECT, IMPLICIT_SCHEMA ON DATABASE TO user1;
GRANT INSERT ON TABLE s1.t1 TO user1;
GRANT CONTROL ON s1.v1 TO user1;
Which SQL statement does user USER1 have privileges to execute?

正確答案: B
.In a PHP script, which ibm_db2 functions should be used if the user wants to retrieve a row in a result set as an array, indexed by column name?

正確答案: B
Which three are required for a global transaction? (Choose three.)

正確答案: A,B,D
Which two C# .NET code snippets illustrate the valid execution of a SQL statement through the IBM Data Server Provider for .NET? (Choose two.)

正確答案: B,D
Which two commands can be used to make use of the latest statistics? (Choose two.)

正確答案: A,B

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어