Free TE0-122 Exam Braindumps (page: 12)

Page 11 of 38

What will occur when a row level lock is requested in a macro and the Optimizer determines a table level lock is required?

  1. It will automatically upgrade the lock without warning.
  2. It will automatically upgrade the lock and provide a warning.
  3. It will provide a warning and put the query in the delay queue.
  4. It will send back an error message for the lock to be corrected.

Answer(s): C



Given the following table:

Customer Name Season Purchased
Johnson Fall
Hamilton Summer
Toby Winter
Sinclair Spring
Hall Winter
Trader Fall
Earman Summer

A company wants to send a "Spring" catalog to those customers who have purchased Spring items in the past and a "Fall" catalog to those who have made Fall purchases.
Which CASE expression produces the desired information?

  1. CASEseason_purchased
    WHEN "Fall" THEN Customer_Name
    WHEN "Spring" THEN Customer_Name
    ELSE "Unknown"
    END
  2. CASE WHEN "Fall" THENCustomer_Name
    WHEN "Spring" THEN Customer_Name
    END
  3. CASEseason_purchased
    WHEN "Fall" THEN Customer_Name
    ELSE WHEN "Spring" THEN Customer_Name
    END
  4. CASE WHEN "Fall" THEN Customer_Name
    ELSE WHEN "Spring" THEN Customer_Name
    END

Answer(s): D



Which data type can be converted to any other data type in the Day-Time interval family?

  1. INTERVAL TIME
  2. INTERVAL DAY
  3. INTERVAL MONTH
  4. INTERVAL DATE

Answer(s): D



Given the following query:

SELECT Name, State
FROM Customers
ORDER BY Name;

The statement returns the following rows (? indicates null):
Name State
Dillon B CA
Newman R ?
Osborne G AR

Given the following additional query:
SELECT Name, State
FROM Employees
ORDER BY Name;

The statement returns the following rows:
Name State
Dillon B CA
Freeman A TN
Newman R TX
Oscar K FL

Given the union of the following two queries:
SELECT Name, State
FROM Customers
UNION
SELECT Name, State
FROM Employees;

How many rows will the union return?

  1. 1
  2. 5
  3. 6
  4. 7

Answer(s): A






Post your Comments and Discuss TeraData TE0-122 exam with other Community members:

TE0-122 Discussions & Posts