Procedure

DB Generic

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Open Studio for MDM
Talend Open Studio for ESB
Talend Big Data
Talend Real-Time Big Data Platform
Talend Data Integration
Talend MDM Platform
Talend Open Studio for Big Data
Talend Big Data Platform
Talend Open Studio for Data Integration
Talend Data Services Platform
Talend Data Management Platform
Talend Data Fabric
Talend ESB
task
Data Governance > Third-party systems > Database components > DB Generic components
Data Quality and Preparation > Third-party systems > Database components > DB Generic components
Design and Development > Third-party systems > Database components > DB Generic components
EnrichPlatform
Talend Studio

Procedure

  1. Drag and drop a tDBSQLRow component from the Palette to the design workspace.
  2. Double-click tDBSQLRow to open its Basic settings view.
  3. Select Repository in the Property Type list as the ODBC connection has been configured and saved in the Repository. The follow-up fields gets filled in automatically.
    For more information on storing DB connections in the Repository, see Talend Studio User Guide.
  4. The Schema is built-in for this Job and it does not really matter in this example as the action is made on the table auto-increment and not on data.
  5. The Query type is also built-in. Click on the [...] button next to the Query statement box to launch the SQLbuilder editor, or else type in directly in the statement box:
    Alter table <TableName> auto_increment = 1
  6. Press Ctrl+S to save the Job and F6 to run.
    The database autoincrement is reset to 1.