IBM DB2 9.7 Application Development - C2090-543 Exam Practice Test

Which steps are necessary to issue a batch update using a single SQL statement? (Note: The statement has several sets of input parameter markers and is issued from a database application using the IBM Data Server Driver for JDBC.)
Correct Answer: C
.Which combination of statements can be used to delete qualifying rows from a table named EMP?
Correct Answer: D
In a query, which clause can reference a CLOB data type?
Correct Answer: A
A CLI/ODBC application contains the lines of code shown below:
SQLHANDLE hstmt; /* statement handle */
SQLCHAR *stmt = (SQLCHAR *)"DELETE FROM org WHERE deptnumb = ? ";
SQLSMALLINT parameter1=5;
SQLAllocHandle(SQL_HANDLE_STMT, hdbc, &hstmt);
SQLSetStmtAttr(hstmt, SQL_ATTR_DEFERRED_PREPARE, SQL_DEFERRED_PREPARE_OFF
);
If table ORG does not exist, which two CLI/ODBC APIs will return SQL_ERROR in the variable RC? (Choose two.)
Correct Answer: A,B
What are two valid values for the PARAMETER STYLE clause in the CREATE PROCEDURE statement? (Choose two.)
Correct Answer: A,C
.Click the Exhibit button. The database shown below exists on a remote server: Database name: MYDB Host IP: 12.34.56.78 DB2 Port: 56789 User: remote password: password This database has been cataloged on the local server with an alias of MYREMDB. You are developing a CLI/ODBC application that must establish a connection to the remote database shown in the exhibit. What are two ways by which you can connect to the database? (Choose two.)
Correct Answer: B,C
Which statement is true of an application that only uses static SQL?
Correct Answer: D
The table PERSON is declared as shown below:
CREATE TABLE xmltest (id BIGINT, info XML)
What is the column type for the result of the following statement?
SELECT t.* FROM
xmltest,
XMLTABLE (
'$INFO/question'
) AS t
Correct Answer: C
A stored procedure is invoked that can return multiple result sets.
After processing the first result set, which CLI/ODBC API can be used to determine if another
result set exists?
Correct Answer: C
Which three data types are supported as output of the XMLSERIALIZE function? (Choose three.)
Correct Answer: A,C,E