Set Optimize for Unknown hint
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.
 - Select the Unknown option.
 - Click Apply then OK.
 - Run the object compilation.