A trigger can be created on which of the following objects?
A. View
B. Catalog Table
C. Stored Procedure
D. Global Temporary Table
Which of the following supports the XML data type?
A. A unique index
B. A composite index
C. A check constraint
D. A generated column
Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?
A. Define the column MAINID as NOT UPDATABLE.
B. Define the column MAINID as a PRIMARY KEY.
C. Define the column MAINID as a FOREIGN KEY.
D. Define an UPDATE trigger on table TABLEX.
Given the following requirements:
Create a table named TESTTAB, which has an identity column named ACTIVITYNO. Define the identity column to generate the values for the column by default. Start the values at 10 and increment by 10. Make the identity column unique.
Which of the following CREATE statements will successfully create this table?
A. CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 10 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO))
B. CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTNO))
C. CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 10 INCREMENT BY 1), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO))
D. CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 10 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO))
Which of the following strings can be inserted into an XML column using XMLPARSE?
A. "
B. ""
C. ""
D. "
The following triggers were defined for table TAB1 in the order shown:
CREATE TRIGGER trig_a AFTER UPDATE ON tab1 FOR EACH ROW UPDATE sale_tab SET sale_date = CURRENT DATE; CREATE TRIGGER trig_b AFTER UPDATE ON tab1 FOR EACH STATEMENT UPDATE invoice_tab SET invoice_date = CURRENT DATE; CREATE TRIGGER trig_c AFTER UPDATE ON tab1 FOR EACH ROW CREATE TRIGGER trig_d AFTER UPDATE ON tab1 FOR EACH STATEMENT UPDATE billing_tab SET billing_date = CURRENT DATE;
If an event occurs that causes all of them to activate, which trigger will be activated first?
A. TRIG_A
B. TRIG_B
C. TRIG_C
D. TRIG_D
What is the maximum size that can be specified when creating an XML column in a DB2 table?
A. No size is specified
B. The buffer pool size
C. The page size for the table space
D. The extent size for the table space
If a unique constraint is defined on column COL1 of table TAB1, what are the characteristics of COL1?
A. COL1 will accept NULL values and can be referenced in another table's foreign key specification.
B. COL1 will not accept NULL values and cannot be referenced in anothertables foreign key specification.
C. COL1 will not accept NULL values and can be referenced in anothertables foreign key specification.
D. COL1 will accept NULL values and cannot be referenced in anothertables foreign key specification.
A DBA has been asked to create a table which will contain a substantial amount of detailed sales information for each calendar month and maintain it to contain only the last 12 months. Which of the following methods will facilitate the online removal of the oldest month's data?
A. Create an MQT that selects the oldest month of data with the REFRESH IMMEDIATE option.
B. Create 12 separate tables, create a view based on all 12, drop the table with the oldest month's data then drop and re-create the view.
C. Create a range partitioned table, partitioned by month, and use the ALTER TABLE statement to detach the oldest month and attach storage for new data.
D. Create a single table, extract the data to be retained using UNLOAD with a SELECT statement, drop and re-create the table then load only the data to be retained.
Which of the following is true of an index used to support a UNIQUE constraint?
A. It must have the UNIQUE attribute.
B. It cannot be created explicitly by the user.
C. It must have the UNIQUE and CLUSTER attributes.
D. It must have the UNIQUE WHERE NOT NULL attribute.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2090-730 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.