Your current authorization ID is DBA. Only one of your secondary authorization IDs, DB2, has the privilege to
Your current authorization ID is DBA. Only one of your secondary authorization IDs, DB2, has the privilege to create an index DB2.AAA on a table. The appropriate SQL statement starts with “CREATE INDEX AAA ON…”. Which of the following statements must precede the CREATE statement so that you can create the index? A. SET CURRENT […]
Which of the following SQL constructs does NOT provide information about the success or failure of the SQL sta
Which of the following SQL constructs does NOT provide information about the success or failure of the SQL statement that was just executed? A. SQLCA B. SQLDA C. SQLCODE D. SQLSTATE
Which statement is TRUE regarding ROLLBACK processing?
Which statement is TRUE regarding ROLLBACK processing? A. It only reads active logs B. It always needs archive logs C. It can never be processed just from memory D. It uses output buffers, active and archive logs
Which of the following elements is affected by a ROLLBACK statement?
Which of the following elements is affected by a ROLLBACK statement? A. LOB table spaces B. Changes in cursor positioning C. Acquisition and release of locks D. Caching of rolled back statements Reference: https://www.ibm.com/support/knowledgecenter/en/SSEPEK_10.0.0/sqlref/src/tpc/db2z_sql_rollback.html
The DB2 subsystem DSN has been correctly configured to access a remote DB2 location MYREMOTE. Which of the fol
The DB2 subsystem DSN has been correctly configured to access a remote DB2 location MYREMOTE. Which of the following processes can be used on subsystem DSN to access MYUSER.EMP table at MYREMOTE location? A. SELECT * FROM MYUSER.EMP; B. CONNECT TO MYREMOTE; SELECT * FROM MYUSER.EMP; C. SELECT * FROM MYUSER.MYREMOTE.EMP; D. CREATE ALIAS EMP_ALIAS […]
Given the following CREATE TABLE statement, and a unique index on column EMPID, which set of SQL statements is
Given the following CREATE TABLE statement, and a unique index on column EMPID, which set of SQL statements is valid? A. B. C. D.
Which of the following is NOT TRUE?
Which of the following is NOT TRUE? A. An index can be created on XML columns B. Length must be specified for an XML column C. XML columns can be added to existing tables D. Triggers can be created on tables with XML columns
Which of the following locking scenarios requires the least amount of real storage in the IRLM address space?
Which of the following locking scenarios requires the least amount of real storage in the IRLM address space? A. 10 row locks B. 200 page locks C. A single table space lock D. 6 partition locks (given a table space with a total of 10 partitions)
Which of the following utilities CANNOT be executed from the DB2 utilities panel in DB2I?
Which of the following utilities CANNOT be executed from the DB2 utilities panel in DB2I? A. COPY B. REORG C. STOSPACE D. BACKUP SYSTEM Reference: https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/ugref/src/tpc/db2z_useutilitiespaneldb2i.html
Which privilege will user smith be able to grant to another user on table emp when the following SQL is execut
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. BIND B. REORG C. TRIGGER D. EXECUTE