IBM Assessment: DB2 9.7 Application Development 認定 A2090-543 試験問題:
1. While developing a Java JDBC application, you use the set of statements shown below:
Connection con;
Statement stmt;
intnumUpd;
stmt = con.createStatement();
numUpd= stmt.executeUpdate("UPDATE EMPLOYEE SET PHONENO='4657' WHERE
EMPNO=?");
stmt.close();
con.close();
Assuming a connection has already been established, which statement is true?
A) Statements will execute successfully, but will not update rows in the database.
B) Statements will execute successfully.
C) Statements will give a syntax error.
D) Statements will give a runtime exception.
2. An application must insert values into a column that has a TIMESTAMP data type. What is a valid string representation of a TIMESTAMP?
A) 07/08/2009-12:22:22:0000
B) 2009-08-07 12:22:22.0000
C) 07-08-2009 12.22.22.0000
D) 2009.08.07.12.22.22.0000
3. Click the Exhibit button.
CREATE TABLE store(sid INTEGER, info XML);
INSERT INTO store VALUES (1,
'<storeinfo sid="1">
<name>Grocery A</name>
<items>
<fruit><name>Mango</name><price>1.20</price></fruit>
<fruit><name>Apple</name><price>0.50</price></fruit>
<dessert><name>Ice Cream</name><price>6.00</price></dessert>
</items>
</storeinfo>');
Given the statements shown in the exhibit, a user executes the query shown below:
XQUERY for $store in db2-fn:xmlcolumn('STORE.INFO')/storeinfolet $items := $store/items/fruit,
$count := fn:count($items) return <itemcount>$count</itemcount> What is the output?
A)
B)
C) 2
D)
4. The statement below was used to create a cursor named CSR1:
DECLARE csr1 CURSOR FOR SELECT * FROM employee FOR UPDATE OF job;
When the cursor is opened, the result set contains six rows. After fetching all of the rows in the
result set associated with cursor CSR1, application TEST1 needs to fetch the third row of the
result set again.
Which steps will allow application TEST1 to fetch the third row again?
A) REOPEN csr1;
FETCH;
FETCH;
FETCH;
B) CLOSE csr1; OPEN csr1; FETCH; FETCH; FETCH
C) FETCH ABSOLUTE 3
D) FETCH PRIOR;
FETCH PRIOR;
FETCH PRIOR;
FETCH PRIOR;
5. .You have set your data types as CHAR(10), VARCHAR(20). Given the operation shown below: CHAR(10) UNION VARCHAR(20)What will be the final data type?
A) CHAR(200)
B) CHAR(30)
C) VARCHAR(30)
D) VARCHAR(20)
質問と回答:
| 質問 # 1 正解: D | 質問 # 2 正解: B | 質問 # 3 正解: B | 質問 # 4 正解: B | 質問 # 5 正解: D |














1471 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
