TeraData TE0-122 Exam
Teradata 12 SQL exam (Page 5 )

Updated On: 1-Feb-2026

A table contains the following column:

Inv_TSTIMESTAMP(6) WITH TIME ZONE
which contains the following values:
2009-04-18 22:47:30.000000+03:00
2009-04-18 10:30:22.000000+12:00

Which dates will be returned if CAST(Inv_TS AS DATE) is used on the table, given that the Local
Time Zone for the session is defined as -'00:00'?

  1. 04/18/2009
    04/17/2009
  2. 04/18/2009
    04/18/2009
  3. 04/18/2009
    04/19/2009
  4. 04/19/2009
    04/19/2009

Answer(s): B



Which two are benefits of using a macro? (Choose two.)

  1. It enables procedural logic.
  2. It allows parameterization of object names.
  3. It can simplify operations that are complex.
  4. It is a short cut for executing frequently run SQL statements.

Answer(s): B,D



Typical display of birthdates is in the following format:

Name DOB
Connie Lynn Jul 3, 54
Marcus Norman Oct 14, 81
Lynn Marie Jul 8, 83
Susan JoAnna Mar 5, 87

New management wants to see all dates in 4-digit year format. The dates should now appear on all reports as:

Name DOB
Connie Lynn 1954-07-03
Marcus Norman 1981-10-14
Lynn Marie 1983-07-08
Susan JoAnna 1987-03-05

Which expression formats column DOB in this 4-digit year format?

  1. DOB(FORMAT 'yyyy-mm-dd')
  2. CAST(DOB AS Year-Month-Day)
  3. DOB AS FORMAT(Year-Month-Day)
  4. DOB(CAST AS FORMAT 'yyyy-mm-dd')

Answer(s): B



As part of a query, the average age of employees in the company needs to be compared to the age of each employee in the company.
Which construct can be used to allow the writing of the query as a single SELECT statement?

  1. Virtual Table
  2. Derived Table
  3. attribute function
  4. recursivesubquery

Answer(s): A



Which set operator is represented by the shaded area shown in the Venn diagram?

  1. MINUS
  2. UNION
  3. EXCEPT
  4. INTERSECT

Answer(s): C



Viewing page 5 of 31
Viewing questions 21 - 25 out of 140 questions



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

Join the TE0-122 Discussion