You
can write data to an SQL table using an SQL statement constructed by WebSphere® DataStage®.
When you specify the table and the column definitions to use, the SQL statement
is automatically constructed and can be viewed on the View SQL tab.
To use a generated query:
Choose a table from the Table name list on
the General tab.
If required, specify that the existing table is cleared
before new rows are written by selecting the Clear table before writing check
box.
Type an optional description of the input link in
the Description field.
Click the Columns tab. The Columns tab
appears at the front of the Inputs page.
Edit the Columns grid to specify column definitions
for the columns you want to write.
The SQL
statement is automatically constructed using your chosen update action and
the columns you have specified. You can now optionally view this SQL statement.
Click the View SQL tab. The View
SQL tab appears at the front of the Inputs page.
Click OK to close theUniData
6 Stage dialog box. Changes are saved when you save your job design.