Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to Teradata Connector
  3. Connections for Teradata
  4. Teradata sources and targets
  5. Mappings and Mapping Tasks with Teradata
  6. Teradata ODBC SQL ELT optimization
  7. Data Type Reference

Teradata Connector

Teradata Connector

SQL Override Query

SQL Override Query

When you configure a mapping, you can specify an SQL statement to override the default query used to read data from the Teradata source.
Specify the SQL override query in the source properties of the mapping. In the SQL override query, you can specify the columns that you want to use from the source database.
For example, use the following SQL override query to extract employee records, matching rows by employee location, from the Teradata source:
select EMPID, EMPNAME, AGE, DOB, DEPTID, LOCATION, DESIGNATION, SALARY from employee where CITY='San Jose'
When you run the mapping, the Secure Agent extracts specific employee records belonging to San Jose based on the where clause defined in the SQL override query.
You must ensure that the number of columns, order of columns, and the data type you specify in the query matches with the Teradata source object.

0 COMMENTS

We’d like to hear from you!