How to: |
You can create transformations in a synonym by adding a virtual column, also known as a DEFINE. This creates a transformation that appears with the data source list of columns.
A virtual column in the synonym is useful in the following situations:
A virtual column in the synonym can also be used in the following situations, as an alternative to using a source transformation:
It is often useful to prototype the transformations with a limited number of rows, and then place them in the source definition after analyzing your performance.
Note: If you have a data flow that uses the synonym in which you are creating a virtual column, you should right-click the synonym's application directory and select Refresh to use the new column.
A virtual column can contain an expression, a constant, or a column name.
After creating a virtual column, you can test it by right-clicking the synonym and clicking Sample Data. Sample data appears in a separate dialog box.
The Synonym Editor opens.
The Define Calculator opens, as shown in the following image.
Tip: From the Synonym Editor, click the browse (...) button at the right of the TITLE and DESCRIPTION value fields to specify multiple language titles.
or
Use the Relational Expression tab to build the expression.
Note: Parameters are not supported.
The Value Selection dialog box opens.
The expression is added to the value field.
Note: To edit the Define, Title, or Expression, you may do so directly from the Synonym Editor, or you may click the browse (...) button at the right of the EXPRESSION value field to relaunch the Define Calculator.
Tip: You can click and drag the DEFINE field and move it to a different segment in the Modeling View tab, which also changes the segment association.
WebFOCUS | |
Feedback |