Which of the following statements will successfully insert data into the table?

The following definition for COL1 is given by this statement: CREATE TABLE… (COL1 BINARY (05)) Which of the following statements will successfully insert data into the table?A . INSERT INTO… (COL1) VALUES(HEX(‘12345’));B . INSERT INTO… (COL1) VALUES(BLOB(‘12345’));C . INSERT INTO… (COL1) VALUES(CHAR(‘12345’));D . INSERT INTO… (COL1) VALUES(BINARY(‘123456’));View AnswerAnswer: C

December 14, 2018 No Comments READ MORE +

If a scrollable cursor is INSENSITIVE, which of the following applies?

If a scrollable cursor is INSENSITIVE, which of the following applies?A . The cursor is read onlyB . WITH ROWSET POSITIONING is not allowedC . The select-statement must not contain an SQL data change statementD . The cursor has sensitivity to changes that are made to the database after the...

December 5, 2018 No Comments READ MORE +

Which privilege will user smith be able to grant to another user on table emp when the following SQL is executed?

Which privilege will user smith be able to grant to another user on table emp when the following SQL is executed? GRANT ALL ON TABLE emp TO smith WITH GRANT OPTION;A . BINDB . REORGC . TRIGGERD . EXECUTEView AnswerAnswer: D

November 24, 2018 No Comments READ MORE +

You want to reduce lock contention that results from uncommitted insert and delete operations by enabling transactions that read data to access only the currently committed data rather than waiting for the uncommitted changes to be resolved. How can you accomplish this?

You want to reduce lock contention that results from uncommitted insert and delete operations by enabling transactions that read data to access only the currently committed data rather than waiting for the uncommitted changes to be resolved. How can you accomplish this?A . Bind your application with ISOLATION(UR)B . Bind...

November 21, 2018 No Comments READ MORE +

In a unique referential constraint, which type of key does a foreign key reference?

In a unique referential constraint, which type of key does a foreign key reference?A . Child keyB . Collation keyC . Parent keyD . Secondary keyView AnswerAnswer: C

November 21, 2018 No Comments READ MORE +

In which address space would a native SQL stored procedure run?

In which address space would a native SQL stored procedure run?A . WLMB . DISTC . DBM1D . The address space of the calling programView AnswerAnswer: C

November 12, 2018 No Comments READ MORE +

Which of the following can activate a trigger?

Which of the following can activate a trigger?A . A row is insertedB . A table or view is createdC . A check constraint is definedD . A referential constraint is violatedView AnswerAnswer: D

October 22, 2018 No Comments READ MORE +

Given the following CREATE VIEW statement and sample data; your login id is “ROGER”. What will be the result for this query?

Given the following CREATE VIEW statement and sample data; your login id is “ROGER”. What will be the result for this query? A . 6B . 5C . 4D . 2View AnswerAnswer: C

October 20, 2018 No Comments READ MORE +

Given a non-partitioned table space TS1 is built with LOCKSIZE ROW, LOCKMAX 1000 and SEGSIZE 64. If a unit of work acquires 1001 locks against table space TS1, the lock will be escalated to which of the following levels?

Given a non-partitioned table space TS1 is built with LOCKSIZE ROW, LOCKMAX 1000 and SEGSIZE 64. If a unit of work acquires 1001 locks against table space TS1, the lock will be escalated to which of the following levels?A . PAGEB . TABLEC . PARTITIOND . TABLESPACEView AnswerAnswer: C

September 22, 2018 1 Comment READ MORE +

You are designing a payroll table that will contain a salary column. Which of the following is the appropriate built-in data type for a salary column?

You are designing a payroll table that will contain a salary column. Which of the following is the appropriate built-in data type for a salary column?A . REALB . BIGINTC . DECIMALD . INTEGERView AnswerAnswer: C

September 18, 2018 No Comments READ MORE +