Retrieving data from the Teradata database table
-
Double-click tTeradataInput to open its
Basic settings view.
-
In the Table Name field, enter the name
of the table to read data from. In this example, it is person. -
In the Query field, enter the following
SQL statement to retrieve data from the table person.1SELECT * FROM samples.person ORDER BY id -
Click the […] button next to Edit schema to open the schema editor.
-
Click the [+] button to add three
columns: id of the integer type,
name and sex of the string type. Note that id and name in Db Column are enclosed in a pair of “ since they are Teradata database
keywords. -
Click OK to close the schema editor and
accept the propagation prompted by the pop-up dialog box. -
Double-click tLogRow to open its
Basic settings view.
-
In the Mode area, select the Table (print values in cells of a table) option
for a better display of the result.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments