Filters can be placed on data sources and corresponding data source objects to restrict their display in Data Source Explorer. This feature is useful if you have data sources that contain large numbers of database objects. You can apply filters to view only the schema objects you need for the development process.

There are two types of data source filters available:

In both cases, data source object filters are defined via the Object Filter Manager, through the development of filter templates. Once defined, filter templates can be activated and deactivated as you need them.

Several filter templates can be combined at a global level or applied to a specific data source.

See also:

Define data source-specific object filters

Data source-specific object filters affect only the specified data source.

To define data source-specific filters

  1. In Data Source Explorer, right-click the data source and select Properties.
    The Properties dialog appears. 
  2. Select the SQL Filters node and select Enable data source-specific settings. The other controls on the dialog become enabled.
  3. Click New. The Filter Template dialog appears.
  4. Specify the parameters of the filter.
  5. Click OK. The filter property specification is added to the Filter Template.
  6. When you have finished defining the filter template, click OK. The template name is added to the Properties dialog. It can be enabled and disabled by selecting or deselecting the check box beside its name, respectively.

Define global database object filters

Global filters affect all registered data sources in the SQL Query Tuner development environment. When you create and apply a global filter to a platform vendor in SQL Query Tuner, all databases associated with that vendor are affected by the filter, as defined.

Individual global filter templates are separated, by supported data source platform, on tabs in the SQL Filter window. Select the appropriate tab to view existing filter templates or add new ones, as needed.

To define a global filter

  1. Select Window > Preferences from the Main Menu. The Preferences dialog appears.
  2. Expand the SQL Development node and select the SQL Filter subnode. The SQL Filter pane appears. 
  3. Click New. The Filter Template dialog appears. 
  4. Specify the parameters of the filter template: 
  5. Click OK. The filter property specification is added to the Filter Template.
  6. When you have finished defining the filter template, click OK. The template name is added to the Properties dialog. It can be enabled and disabled by selecting or de-selecting the check box beside its name, respectively.

Data Source object filters are added and removed from the development environment by selecting and de-selecting the checkboxes associated with each filter template on both the global and data source-specific dialogs.



 |    |  |   |   |