Description:
This step configures the output file for the SQL transform result.
Inputs
- connectionID – select SQL connection
- tablename - input DB table name
- createTable - create table if not exists
- primary key - select primary key column
Returns
- None
Usage:

Prerequisite:
The ETL process engine service should be running to execute the ETL definitions.

Example:
Let’s build and execute the “clsInputMSSQLDBDef” example.
- Create a new ETL definition named “clsInputMSSQLDBDef” and open it in designer mode.
- Drag the “clsInputMSSQLDB, clsTransformCase, and clsOutputMSSQLDB” steps to the canvas.
- Connect the dots between the “clsInputMSSQLDB” and other steps, as shown above.
- Define a variable or a global to hold the virtual path.
- Click the "clsInputMSSQLDB" step to configure its "Required" properties. Provide a name for the step. Select the SQL connection from the drop-down list. Enter the Select SQL statement. Select the data schema from the drop-down list that matches the SQL result set. Click the Save button. Click here to learn about ETL Data Schema Designer.

- The data schema is provided here for reference.

- Click the "clsTransformCase" step to configure its "Required" properties. Enter the step name. Click the button to configure the case transform list. Then click the Save button.

- Click the button to configure the case transform list. The pop-up window opens for configuration. Click the Add Row (+) button to insert an empty row. Select the column and case type from the drop-down list. Click the Save button. Click the Add Row button to insert multiple columns for case transform.

- Click the "clsOutputMSSQLDB" step to configure its "Required" properties. Provide a name for the step. Select the SQL connection from the drop-down list. Specify the table name to create and store in the connection's database. Select “Yes” to create a new table. Select the primary key column from the drop-down list. Select the database operation from the drop-down list. Click the Save button.

- Select the database operation from the drop-down list. You may configure the step to perform Insert, Update, Insert and Update, Delete, or Replace All. Click the Save button.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

- Save the ETL definition, create a new instance, and execute it. Render the ETL instance. Click the ETL step to view its properties. The “clsInputMSSQLDB” step should input the MSSQL DB file for transformation.

- The source SQL record set used for case transformation is provided here for reference.

- The case-transformed SQL result set is provided here for reference.

Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright ETL Definition (XML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.