Extracting useful information from the table - 7.3

MSSql

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Database components (Integration) > MSSql components
Data Quality and Preparation > Third-party systems > Database components (Integration) > MSSql components
Design and Development > Third-party systems > Database components (Integration) > MSSql components
Last publication date
2024-02-21

Procedure

  1. Double-click the tMSSqlInput component to open its Basic settings view in the Component tab.
  2. Select the Use an existing connection check box. If multiple connections are available, select the connection you want to use from the Component List drop-down list.
  3. Click Edit schema to define the data structure to be read from the table. In this example, we need to read all three columns from the table.
  4. In the Table Name field, type in the name of the table you want to read the data from: Wage_Info in this example.
  5. In the Query field, fill in the SQL query to be executed on the table specified. To obtain the data of employees whose wages are above the average value and order them by id, enter the SQL query as follows:SELECT * FROM Wage_Info WHERE wage > (SELECT avg(wage) FROM Wage_Info) ORDER BY id