Add the SQL Option Variable filter
This is applicable for objects using only the table implementation type.
- On the Designers tab, expand the tree view to locate the object.
- Right-click the source object and select .
- Click the Add SQL Option button. The SQL Option form is displayed.
- Select the Add OPTIMIZE FOR check box.
- In the drop-down list, select SQL Option variable .
- Optionally, you can add a new SQL Option Variable. See Creating SQL Option Variable.
- Click Apply then OK.
- Open object properties. Click Filter then Edit Filter.
- Add the SQL Option variable to the filter.
- Click OK then Apply.
- Run the object compilation.