To filter source data for an unload job, you can define a WHERE clause for one or more source columns. The Fast Clone Console provides a convenient tool for composing WHERE clauses.
Click the
Source Columns
tab.
In the
Table
list, select the table for which you want to define a WHERE clause for filtering column data.
All of the table columns appear in the
Table Columns
box.
Right-click a column row for which to add a condtition in a WHERE clause and click the button in the
Column Condition
column.
The
Condition definition for table.'column_name'
dialog box appears, as shown in the following image:
In the
Operator
list, select one of the following comparison operators: =, <>, <, >, >=, <=, IS NULL, IS NOT NULL, LIKE, or BETWEEN.
The operators that are available depend on the column datatype.
In the
Value
field, enter a value to use with the operator.
If the operator requires one value, leave the second field blank. For example, with the greater than (>) operator, you could enter a single numeric value of 1.
If you want to add another condition for the same column, select the
OR
check box. Then define another condition for the current column.
If you clear the
OR
check box, the Fast Clone Console removes any conditions that follow the first one.
If you want to add a condition for another column, select one of the following options in the
Operator for next column
list to determine if the conditions for one or both columns must be true to filter data. Options are:
OR
. The condition for one or more columns in the WHERE clause must be true.
AND
. The conditions for all of columns in the WHERE clause must be true.
Then define the conditions for the next column.
Click
OK
.
On the
Source Columns
tab, verify the WHERE clause that you defined for the table columns by clicking
Show Where
.
The Fast Clone Console includes all of the conditions that you defined for the table columns to the WHERE clause.