Define a custom transformation script using the Task Group component.
- Add the Task Group component to the design window, right-click the component on the design window, and select Add task to create a new transformation task. Alternatively, double-click an existing Task Group component or with a Task Group component selected in the design window, click the Tasks icon in the Properties window, and click the Create a new task icon.
- Select Custom SQL as the task type. Enter a name and description for the task and click Create.
- Create the SQL script to describe a transformation. You can:
- (Optional) Import or Export the SQL script from or to a file.
- To import the SQL script from a file, click the Import From File icon, select the file to import, and click Open.
- To export the script to a file, click the Export to File icon, provide a file name, and click Save.
- Save the script and run it by clicking the Execute a Script icon. Alternatively, select from the Script menu.